|
Download README.md from EnYa32/RainfallPredictionClassification: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/spaces/EnYa32/RainfallPredictionClassification/resolve/main/README.md
- Command line
-
hf download hf://spaces/EnYa32/RainfallPredictionClassification/README.md
-
curl -L -o README.md https://huggingface.co/spaces/EnYa32/RainfallPredictionClassification/resolve/main/README.md
1.15 kB
metadata
title: RainfallPredictionClassification
emoji: 🌧️
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 8501
tags:
- streamlit
pinned: false
short_description: App that predicts rainfall probability (0–1)
license: mit
🌧️ Rainfall Probability Predictor (LogReg)
This Streamlit app predicts the probability of rainfall (0–1) from daily weather features using a trained Logistic Regression model.
What the app does
- Takes weather inputs (temperature, humidity, wind, pressure, cloud cover, sunshine, day of year)
- Creates a few engineered features (e.g., temperature range, humidity gap, seasonal sin/cos)
- Outputs a rainfall probability for ROC-AUC style prediction tasks
Files required
Place these files in the repo root (same folder as app.py):
logistic_regression_model.pklfeature_names.pklapp.pyrequirements.txt
How to run locally
pip install -r requirements.txt
streamlit run app.py
Notes
The model expects the same feature order used in training.
feature_names.pkl is used to enforce the correct column order.
The app outputs probabilities, not hard class labels.