Spaces:
Sleeping
Sleeping
metadata
title: StarSystemClassification
emoji: π
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: A Streamlit app that predicts of a star system
license: mit
πͺ Star System Classification (LightGBM)
This project predicts the system_type of a star system using astrophysical and galactic features. It is a multiclass classification task with 4 classes (0β3).
β What this app does
- Takes 10 input features (numeric + categorical)
- Applies the same preprocessing used in training:
stellar_activity_classmapped to numbers (Low/Medium/High)planet_configurationandstar_spectral_classencoded using savedLabelEncoders- Features are ordered using the saved
feature_orderfile
- Predicts the star system type using a LightGBM model
π¦ Files in this repository
Required files (must be in the same folder as app.py):
app.pylightgbm_model.pkl(saved LightGBM model)planet_encoder.pkl(LabelEncoder forplanet_configuration)star_encoder.pkl(LabelEncoder forstar_spectral_class)featurer.pkl(saved feature order list)requirements.txt
π Run locally
pip install -r requirements.txt
streamlit run app.py