Work

Automated Stellar Classification of Main Sequence Stars Using eXtreme Gradient Boosting

Year: 2026
Type: preprint
Abstract: The classification of main-sequence stars is a fundamental astrophysical task that has become increasingly data-heavy. With modern astronomical surveys generating unprecedented volumes of optical spectra, manual categorization is no longer computationally feasible. To address this issue, this study uses the latest robotic targeting data from the Sloan Digital Sky Survey V (SDSS-V) Data Release 20 (DR20) to categorize stars along the OBAFGKM spectral sequence. Rather than relying on raw flux arrays, this method focuses on physical chemistry by engineering a 16-dimensional feature vector which explicitly isolates temperature-dependent spectral lines such as Hydrogen Balmer series (H alpha, H gamma, H delta) for hot F/G stars and Titanium Oxide (TiO) molecular bands for cool M-type dwarfs. A baseline Random Forest classifier trained for this yielded an 86% accuracy initially. To improve upon this baseline and resolve the overlapping boundary classifications, we upgraded and compared this against an advanced eXtreme Gradient Boosting (XGBoost) architecture. The XGBoost architecture minimized boundary errors, achieving a final test accuracy of 87% across four spectral classes (F, G, K, and M). Crucially, the model successfully resolved the subtle F/G and K/M thermodynamic boundaries, confining misclassifications strictly to immediate sequence neighbours. This demonstrates a robust, automated pipeline capable of mapping true physical temperature gradients in massive modern datasets. This work was produced by young researchers through the International Scientific Youth Community (ISYC), a youth-led non-profit research community. It is shared as a preprint: it has not been peer reviewed by a journal, and the authors may develop it further and submit it to one.
Language: English
Open Access status: green
OpenAlex ID: W7238218299
Cites:
Cited by:
Related to: