A machine learning-powered web application for predicting weather types based on various atmospheric conditions. Built using Flask and multiple ML models, this app classifies weather into Rainy β, Cloudy βοΈ, Sunny βοΈ, and Snowy βοΈ.
- β Uses Logistic Regression, Decision Tree, Random Forest, SVM, and KNN models.
- β Web-based interface built with Flask & HTML/CSS.
- β User-friendly input form for weather parameters.
- β Real-time predictions.
- β Interactive UI with weather-themed pages.
Home Page | Prediction Output |
---|---|
![]() |
![]() |
- Frontend: HTML, CSS, JavaScript
- Backend: Flask
- Machine Learning: Scikit-Learn, Joblib, Pandas, NumPy
π¦ Weather-Type-Classification-WebApp
βββ π static # CSS, JS, and images
βββ π templates # HTML files (home, results pages)
βββ models # Saved ML models (joblib/pickle format)
βββ app.py # Flask application
βββ requirements.txt # Dependencies
βββ README.md # Project documentation
git clone https://github.com/yourusername/Weather-Type-Classification-WebApp.git
cd Weather-Type-Classification-WebApp
pip install -r requirements.txt
python app.py
Open the browser and go to: http://127.0.0.1:5000/
- Enter weather-related inputs in the web form.
- Click "Predict" to classify the weather type.
- The app displays the predicted weather category.
- The dataset is preprocessed and split into training and testing sets.
- Different ML models are trained, and the best-performing model is selected.
- The selected model is saved using
joblib
.
Model | Accuracy |
---|---|
Logistic Regression | 85% |
Decision Tree | 88% |
Random Forest | 92% |
SVM | 90% |
KNN | 87% |
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch.
- Commit your changes.
- Open a Pull Request.
This project is licensed under the MIT License.
Made with β€οΈ by Jitesh Shelke