EnYa32 commited on
Commit
807bbbd
·
verified ·
1 Parent(s): 47f6fc2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -4
README.md CHANGED
@@ -12,9 +12,30 @@ short_description: A Streamlit app that predicts of a star system
12
  license: mit
13
  ---
14
 
15
- # Welcome to Streamlit!
16
 
17
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
 
18
 
19
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
20
- forums](https://discuss.streamlit.io).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  license: mit
13
  ---
14
 
15
+ # 🪐 Star System Classification (LightGBM)
16
 
17
+ This project predicts the **system_type** of a star system using astrophysical and galactic features.
18
+ It is a **multiclass classification** task with 4 classes (0–3).
19
 
20
+ ## What this app does
21
+ - Takes 10 input features (numeric + categorical)
22
+ - Applies the **same preprocessing** used in training:
23
+ - `stellar_activity_class` mapped to numbers (Low/Medium/High)
24
+ - `planet_configuration` and `star_spectral_class` encoded using saved `LabelEncoder`s
25
+ - Features are ordered using the saved `feature_order` file
26
+ - Predicts the star system type using a **LightGBM** model
27
+
28
+ ## 📦 Files in this repository
29
+ Required files (must be in the same folder as `app.py`):
30
+
31
+ - `app.py`
32
+ - `lightgbm_model.pkl` (saved LightGBM model)
33
+ - `planet_encoder.pkl` (LabelEncoder for `planet_configuration`)
34
+ - `star_encoder.pkl` (LabelEncoder for `star_spectral_class`)
35
+ - `featurer.pkl` (saved feature order list)
36
+ - `requirements.txt`
37
+
38
+ ## 🚀 Run locally
39
+ ```bash
40
+ pip install -r requirements.txt
41
+ streamlit run app.py