A Machine Learning project that classifies celestial objects into:
- ⭐ Star
- 🌌 Galaxy
- 💫 Quasar (QSO)
👉 https://abhi-astrophysics-astronomy-classifier.hf.space/
With the explosion of astronomical data from surveys like SDSS, manual classification is no longer practical.
This project uses Machine Learning to automatically classify celestial objects based on their physical properties.
- Accuracy: 97.6%
- Algorithm: Random Forest
- Dataset: SDSS (Sloan Digital Sky Survey)
- Redshift is the most important feature
- Color indices (g-r, u-g) improve classification
- QSOs are hardest to classify
- Python
- Pandas
- Scikit-learn
- Gradio
app.py# Web appsave_model.py# Model training scriptrequirements.txt# Dependenciesdata/star_classification.csv# Datasetnotebooks/week1_star_data.ipynb# Notebookassets/images/image.png# Confusion matrixassets/images/image-1.png# Feature importancedocs/report.pdf# PDF reporttests/# Unit tests
- Focused on feature importance
- Used ensemble learning (Random Forest)
- Balanced accuracy with interpretability
- Limited to the SDSS dataset
- The model may struggle with unseen data distributions
👉 Available in this repository (PDF)
I am a Class 12 student passionate about Astronomy and Machine Learning,
building projects at the intersection of space science and AI.
⭐ If you found this interesting, consider giving it a star!

