How diwas524/weather-prediction-using-machine-learning works
This repository combines a weather-prediction research project with a small Tkinter app. The app’s workflow is user-entered weather measurements → input validation → CSV-backed preprocessing and decision-tree training → prediction displayed in the interface. The README also describes research experiments with decision trees, logistic regression, and k-nearest neighbors; notebook details are not sampled, so those capabilities are represented without inferring their internal flow.
Main entry points: calculation.py Prediction calculation · main.py Prediction interface · Weather Prediction Using Machine Learning.ipynb Model experiments · dataset.csv App weather data
Components 10
User interface
- Prediction interface
tkinter-app/main.py - Input validation
tkinter-app/main.py
Prediction runtime
- Prediction calculation
tkinter-app/calculation.py - App weather data
tkinter-app/dataset.csv - Data preprocessing
tkinter-app/calculation.py - Decision-tree training
tkinter-app/calculation.py - Weather prediction
tkinter-app/calculation.py
ML research
- Model experiments
Weather Prediction Using Machine Learning.ipynb - Research dataset
dataset.csv
Other components
- User
Connections 9
- User → Prediction interface: enters inputs
tkinter-app/main.py - Prediction interface → Input validation: validates inputs
tkinter-app/main.py - Prediction interface → Prediction calculation: calls process_inputs
tkinter-app/main.py - Prediction calculation → App weather data: reads CSV
tkinter-app/calculation.py - Prediction calculation → Data preprocessing: preprocesses data
tkinter-app/calculation.py - Data preprocessing → Decision-tree training: prepares training data
tkinter-app/calculation.py - Decision-tree training → Weather prediction: predicts labels
tkinter-app/calculation.py - Prediction calculation → Prediction interface: returns weather result
tkinter-app/main.py - Model experiments → Research dataset: uses weather data
README.md