-
Create virtualenv and install requirements: python -m venv .venv .venv\Scripts\activate # on Windows pip install -r requirements.txt
-
Apply migrations and runserver: python manage.py migrate python manage.py runserver
-
Workflow:
- Upload weather data CSV at
/upload/(columns: date,city,temp_min,temp_max,humidity,wind_speed,rainfall,pressure,cloud_cover) - Explore data at
/explore/ - Train Decision Tree model at
/train/ - Predict temperature at
/predict/
- Upload weather data CSV at
-
UI uses Tailwind CSS via CDN for modern look.
-
To create a zip of the project (from the parent folder): powershell Compress-Archive -Path weather_project -DestinationPath weather_project.zip
Visit http://127.0.0.1:8000/