[Paper Review] Machine Learning Pipeline for Pulsar Star Dataset
This study evaluates multiple machine learning algorithms on the HTRU2 pulsar dataset, a highly imbalanced astronomical dataset with ~17,000 instances, using cross-validation and class sampling techniques. Despite noise and class imbalance, models like XGBoost and Random Forest achieve over 97% F1-score for the minority pulsar class (label 1), demonstrating that standard ML pipelines can effectively identify pulsars when properly balanced and evaluated with class-specific metrics.
This work brings together some of the most common machine learning (ML) algorithms, and the objective is to make a comparison at the level of obtained results from a set of unbalanced data. This dataset is composed of almost 17 thousand observations made to astronomical objects to identify pulsars (HTRU2). The methodological proposal based on evaluating the accuracy of these different models on the same database treated with two different strategies for unbalanced data. The results show that in spite of the noise and unbalance of classes present in this type of data, it is possible to apply them on standard ML algorithms and obtain promising accuracy ratios.
Motivation & Objective
- To evaluate the performance of diverse supervised machine learning algorithms on the imbalanced HTRU2 pulsar dataset.
- To investigate the impact of data sampling strategies—undersampling and oversampling—on model performance for minority class (pulsar) detection.
- To determine whether standard ML algorithms can achieve high accuracy and F1-score on noisy, unbalanced astronomical data without requiring deep learning.
- To identify the most effective model and preprocessing pipeline for pulsar classification in real-world astronomical applications.
Proposed method
- The study employs a structured pipeline: data analysis, pre-processing, sampling, and model training with K-fold cross-validation (k=5).
- Class imbalance is addressed using both undersampling (reducing majority class 0) and oversampling (increasing minority class 1), with synthetic minority oversampling technique (SMOTE) applied in Dataset 3.
- A diverse set of 13 classifiers is evaluated, including Logistic Regression, Decision Trees, XGBoost, Random Forest, SVM variants, Naive Bayes, Perceptron, MLP, and ensemble methods (Bagging, Gradient Boosting, Stacking).
- Performance is assessed using accuracy, precision, recall, and F1-score, with special emphasis on the F1-score for the minority class (pulsar = 1).
- Experiments are conducted on three datasets: original (Dataset 1), undersampled (Dataset 2), and oversampled (Dataset 3), enabling comparison of sampling effects.
- Classification reports and statistical summaries (mean ± std deviation) are used to compare model performance across all configurations.
Experimental results
Research questions
- RQ1Does class imbalance in the HTRU2 dataset significantly degrade the performance of standard machine learning models for pulsar detection?
- RQ2How do undersampling and oversampling strategies affect the precision, recall, and F1-score of machine learning models on the pulsar classification task?
- RQ3Which machine learning algorithm achieves the highest F1-score for the minority pulsar class (label 1) across different sampling configurations?
- RQ4Can traditional ML models outperform deep learning approaches on this dataset when proper sampling and cross-validation are applied?
Key findings
- XGBoost and Random Forest achieved the highest F1-scores for the minority class (pulsar = 1), with F1-scores of 0.97 and 0.96 respectively on the oversampled dataset (Dataset 3).
- The best-performing model, XGBoost, achieved a precision of 0.98 and recall of 0.83 on Dataset 3, resulting in an F1-score of 0.90 for the minority class.
- Without sampling, models like Logistic Regression and Decision Trees achieved high accuracy (>97%) but poor recall (as low as 0.72) for the pulsar class, indicating high bias toward the majority class.
- Oversampling (Dataset 3) consistently improved F1-scores for the minority class across all models compared to the original dataset (Dataset 1), confirming the necessity of balancing for this task.
- Ensemble methods such as Bagging and Stacking showed strong performance, with Stacking achieving an F1-score of 0.96 on Dataset 3, highlighting the benefit of model averaging.
- The use of feature selection in Experiment 2 led to a modest improvement in F1-score for the minority class, with XGBoost achieving 0.95 F1 on Dataset 3, indicating that feature engineering can further enhance performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.