Solar Flare Forecast: A Comparative Analysis of Machine Learning Algorithms for Predicting Solar Flare Classes
Julia Bringewald, Olivier Parisot
RWTH Aachen University · Luxembourg Institute of Science and Technology
Key points
From the paper's conclusion- Our findings indicate that RF and XGBoost consistently demonstrate strong performance across all metrics, benefiting significantly from increased dimensionality.
Abstract
Solar flares are among the most powerful and dynamic events in the solar system, resulting from the sudden release of magnetic energy stored in the Sun’s atmosphere. These energetic bursts of electromagnetic radiation can release up to 1032 erg of energy, impacting space weather and posing risks to technological infrastructure and therefore require accurate forecasting of solar flare occurrences and intensities. This study evaluates the predictive performance of three machine learning algorithms—Random Forest (RF), k-Nearest Neighbors (kNN), and Extreme Gradient Boosting (XGBoost)—for classifying solar flares into four categories (B, C, M, X). Using 13 parameters of the SHARP dataset, the effectiveness of the models was evaluated in binary and multiclass classification tasks. The analysis utilized 8 principal components (PCs), capturing 95% of data variance, and 100 PCs, capturing 97.5% of variance. Our approach uniquely combines binary and multiclass classification with different levels of dimensionality reduction, an innovative methodology not previously explored in the context of solar flare prediction. Employing a 10-fold stratified cross-validation and grid search for hyperparameter tuning ensured robust model evaluation. Our findings indicate that RF and XGBoost consistently demonstrate strong performance across all metrics, benefiting significantly from increased dimensionality. The insights of this study enhance future research by optimizing dimensionality reduction techniques and informing model selection for astrophysical tasks. By integrating this newly acquired knowledge into future research, more accurate space weather forecasting systems can be developed, along with a deeper understanding of solar physics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Solar Flare Prediction Using a Hybrid Convolutional Neural Network and Transformer ModelarXiv · 2026
- SHAPE: Solar Heliospherical Analysis and Prediction of Eruptions A machine learning approach to solar flare forecastingarXiv · 2026
- Interpretable Solar Flare Forecasting via Matrix Profile Shapelet MiningThe Astrophysical Journal Supplement Series · 2026
- Short-term solar flare forecasting with a hybrid ConvNeXtV2 and transformer–temporal convolutional networkFrontiers in Astronomy and Space Sciences · 2026
- A Near‐Real‐Time Deep‐Learning Solar Flare Forecasting System Supported by SDO/HMI and ASO‐S/FMG MagnetogramsSpace Weather · 2026
- Solar Situation Awareness and Flare Forecasting Dataset for Operational Applications.Scientific data · 2026