Detecting and Classifying Flares in High-Resolution Solar Spectra with Supervised Machine Learning

Nicole Hao, Laura Flagg, Ray Jayawardhana
6/21/2024
astro-ph.SRastro-ph.EPastro-ph.IM

No official code found. Best implementation: nicolehao34/Solar-Flares-Classification-ML (2 stars, last commit 2025-05-03).

Abstract

Flares are a well-studied aspect of the Sun's magnetic activity. Detecting and classifying solar flares can inform the analysis of contamination caused by stellar flares in exoplanet transmission spectra. In this paper, we present a standardized procedure to classify solar flares with the aid of supervised machine learning. Using flare data from the RHESSI mission and solar spectra from the HARPS-N instrument, we trained several supervised machine learning models, and found that the best performing algorithm is a C-Support Vector Machine (SVC) with non-linear kernels, specifically Radial Basis Functions (RBF). The best-trained model, SVC with RBF kernels, achieves an average aggregate accuracy score of 0.65, and categorical accuracy scores of over 0.70 for the no-flare and weak-flare classes, respectively. In comparison, a blind classification algorithm would have an accuracy score of 0.33. Testing showed that the model is able to detect and classify solar flares in entirely new data with different characteristics and distributions from those of the training set. Future efforts could focus on enhancing classification accuracy, investigating the efficacy of alternative models, particularly deep learning models, and incorporating more datasets to extend the application of this framework to stars that host exoplanets.

View on arXivView PDF

Code Implementations(1)

Solar flares detection and classification in high-res spectra using supervised ML

21Jupyter NotebookJul 12, 20221 years ago
astrophysicsdata-sciencemachine-learningsupervised-learning

Similar Papers

Cite this paper

@article{hao2024detecting,
  title  = {Detecting and Classifying Flares in High-Resolution Solar Spectra with Supervised Machine Learning},
  author = {Nicole Hao and Laura Flagg and Ray Jayawardhana},
  year   = {2024},
  eprint = {2406.15594},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.15594v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.15594.svg)](https://codeofpaper.com/paper/2406.15594)

Discussion