- AKASH R 20BCE1501 Github: akash-r34
- ABRAR AHAMED 20BCE1437 Github: Abrar-Ahamed
- AKSHAY GIRISH 20BCE1573 Github: Akshaykviit023
This project focuses on predicting solar flare peak current per second (c/s) and energy magnitude using a variety of recurrent neural network architectures, including LSTM, GRU, and Bidirectional LSTM + GRU. Through systematic hyperparameter tuning, we aim to optimize model performance, offering an advanced tool for forecasting solar activities with enhanced accuracy and reliability. The project is implemented in a modular and transparent manner, making it a valuable resource for researchers and practitioners in the field of space weather prediction. The codebase is available on GitHub, providing an accessible platform for further exploration and collaboration.
├── Dataset │ └── hessi.solar.flare.2002to2016.csv ├── Code │ └── solar_flare_prediction.ipynb ├── Results │ └── (various model outputs and visualizations) ├── README.md └── requirements.txt
To run the code, make sure you have the required dependencies installed. You can install them using the following command:
pip install -r requirements.txt
Open the Jupyter Notebook solar_flare_prediction.ipynb
to explore the code and run the machine learning models.
The dataset is collected by utilizing SHARP summary parameters as input data for the prediction model. SHARPs are derived from vector magnetograms captured by the HMI on the SDO. Summary parameters are computed based on the HMI Active Region (AR) patches (HARPs), which are rectangular boxes encompassing the ARs and moving with solar rotation.
- Data Source: Joint Science Operations Center (JSOC) - http://jsoc.stanford.edu
- Time Range: 2002 to 2016
Solar flare events are identified using the NOAA Geostationary Operational Environmental Satellite (GOES) flare list. The GOES flare list includes flare events with class, start, end, and peak intensity times for each event. The peak time of the flare events is designated as the "event time" when constructing the data samples for the prediction model.
The dataset contains information about solar flares, including peak count rates, total counts, energy levels, and various flags indicating flare characteristics.
The project includes the following machine learning models:
- LSTM model for predicting 'peak.c/s'
- GRU model for predicting 'energy.keV'
- Combined LSTM and GRU model for predicting flare categories
- Hyperparameter tuning and custom-weighted loss function
- Bidirectional LSTM and GRU model for predicting flare categories
Various visualizations and evaluation metrics are provided in the Jupyter Notebook to assess the performance of the models.
Feel free to contribute to this project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated!