Solar Flare Forecast: A Comparative Analysis of Machine Learning Algorithms for Predicting Solar Flare Classes

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.

Authors

Institutions

Publication Details

Journal
Astronomy
Published
2025-11-13
DOI
https://doi.org/10.3390/astronomy4040023
Citations
1
Primary Topic
Solar and Space Plasma Dynamics
Type
article
Field-Weighted Citation Impact
1.15
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Solar Flare Forecast: A Comparative Analysis of Machine Learning Algorithms for Predicting Solar Flare Classes

Olivier Parisot, Julia Bringewald
1 citations
Astronomy
Solar and Space Plasma Dynamics
1.15
article

Solar Flare Forecast: A Comparative Analysis of Machine Learning Algorithms for Predicting Solar Flare Classes

Olivier Parisot, Julia Bringewald
article en
1 citations

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.

AstronomyVol. 4(4)
Luxembourg Institute of Science and Technology (LU), RWTH Aachen University (DE)
Openalex Percentile: Top 15%
Solar and Space Plasma Dynamics
1.15
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Solar Flare Forecast: A Comparative Analysis of Machine Learning Algorithms for Predicting Solar Flare Classes — Olivier Parisot, Julia Bringewald · Astronomy (2025) | TGRS Research Map | TGRS