EnYa32 commited on
Commit
a702e83
·
verified ·
1 Parent(s): f7f4afe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -7
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  title: RainfallPredictionClassification
3
- emoji: 🚀
4
- colorFrom: red
5
- colorTo: red
6
  sdk: docker
7
  app_port: 8501
8
  tags:
@@ -12,9 +12,29 @@ short_description: App that predicts rainfall probability (0–1)
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).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: RainfallPredictionClassification
3
+ emoji: 🌧️
4
+ colorFrom: blue
5
+ colorTo: indigo
6
  sdk: docker
7
  app_port: 8501
8
  tags:
 
12
  license: mit
13
  ---
14
 
15
+ # 🌧️ Rainfall Probability Predictor (LogReg)
16
 
17
+ This Streamlit app predicts the **probability of rainfall (0–1)** from daily weather features using a trained **Logistic Regression** model.
18
 
19
+ ## What the app does
20
+ - Takes weather inputs (temperature, humidity, wind, pressure, cloud cover, sunshine, day of year)
21
+ - Creates a few engineered features (e.g., temperature range, humidity gap, seasonal sin/cos)
22
+ - Outputs a rainfall probability for **ROC-AUC style** prediction tasks
23
+
24
+ ## Files required
25
+ Place these files in the repo root (same folder as `app.py`):
26
+ - `logistic_regression_model.pkl`
27
+ - `feature_names.pkl`
28
+ - `app.py`
29
+ - `requirements.txt`
30
+
31
+ ## How to run locally
32
+ ```bash
33
+ pip install -r requirements.txt
34
+ streamlit run app.py
35
+ Notes
36
+ The model expects the same feature order used in training.
37
+
38
+ feature_names.pkl is used to enforce the correct column order.
39
+
40
+ The app outputs probabilities, not hard class labels.