{"id":21152658,"url":"https://github.com/sinha532/weather-prediction-ml-system","last_synced_at":"2026-04-16T17:36:06.085Z","repository":{"id":255164567,"uuid":"848413135","full_name":"Sinha532/weather-prediction-ml-system","owner":"Sinha532","description":"Showcasing ML algorithms on different climatic conditions to predict the Weather, Extended to a web page using Flask application","archived":false,"fork":false,"pushed_at":"2024-08-28T10:47:07.000Z","size":1189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T08:28:16.501Z","etag":null,"topics":["flask-application","machine-learning","python3","webapp"],"latest_commit_sha":null,"homepage":"https://weather-prediction-ml-system-1.onrender.com/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sinha532.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-27T18:00:42.000Z","updated_at":"2024-08-28T10:50:34.000Z","dependencies_parsed_at":"2024-08-28T11:55:06.997Z","dependency_job_id":null,"html_url":"https://github.com/Sinha532/weather-prediction-ml-system","commit_stats":null,"previous_names":["sinha532/weather-prediction-ml-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinha532%2Fweather-prediction-ml-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinha532%2Fweather-prediction-ml-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinha532%2Fweather-prediction-ml-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sinha532%2Fweather-prediction-ml-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sinha532","download_url":"https://codeload.github.com/Sinha532/weather-prediction-ml-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243597783,"owners_count":20316842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask-application","machine-learning","python3","webapp"],"created_at":"2024-11-20T10:45:18.241Z","updated_at":"2025-10-17T09:32:40.303Z","avatar_url":"https://github.com/Sinha532.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Weather Prediction Machine Learning Project\n\n## Overview\n\nThis project is a Flask web application that predicts weather conditions based on input features such as precipitation, maximum temperature, minimum temperature, and wind speed. The application allows users to select from four different machine learning models to make predictions.\n\n## Features\n\n- **Model Selection**: Choose between four machine learning models:\n  - Logistic Regression (Accuracy: 0.83)\n  - Decision Tree (Accuracy: 0.72)\n  - Random Forest (Accuracy: 0.82)\n  - Support Vector Machine (Accuracy: 0.83)\n- **Input Features**:\n  - Precipitation\n  - Maximum Temperature\n  - Minimum Temperature\n  - Wind Speed\n- **Prediction Output**: The application predicts one of the following weather conditions:\n  - Drizzle Weather\n  - Foggy Weather\n  - Rainy Weather\n  - SnowFall\n  - Sunny Weather\n\n## Project Structure\n\n\\`\\`\\` plaintext\nweather-prediction /\n│\n├── app.py                  # Main application file\n├── templates/\n│   └── index.html          # HTML template for the web interface\n├── models/\n│   ├── model1.sav          # Pre-trained Logistic Regression model\n│   ├── model2.sav          # Pre-trained Decision Tree model\n│   ├── model3.sav          # Pre-trained Random Forest model\n│   └── model4.sav          # Pre-trained Support Vector Machine model\n└── README.md               # Project documentation\n\\`\\`\\`\n\n## Prerequisites\n\nBefore running the application, ensure you have the following installed:\n\n- Python 3.x\n- Flask\n- Pickle (for loading pre-trained models)\n\n## Installation\n\n1. Clone the repository:\n\n   \\`\\`\\`bash\n   git clone https://github.com/yourusername/weather-prediction.git\n   cd weather-prediction\n   \\`\\`\\`\n\n2. Install the required Python packages:\n\n   \\`\\`\\`bash\n   pip install flask\n   \\`\\`\\`\n\n3. Place the pre-trained models (\\`model1.sav\\`, \\`model2.sav\\`, \\`model3.sav\\`, \\`model4.sav\\`) in the \\`models/ \\` directory.\n\n## Usage\n\n1. Start the Flask application:\n\n   \\`\\`\\` bash\n    python app.py\n   \\`\\`\\`\n\n2. Open your web browser and go to \\` http://127.0.0.1:5000/ \\`.\n\n3. Enter the input features (precipitation, max temperature, min temperature, wind speed) and select a model from the dropdown.\n\n4. Click \"Predict\" to see the weather prediction.\n\n## Contributing\n\nIf you would like to contribute to this project, please fork the repository and create a pull request. Your contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Acknowledgments\n\n- The machine learning models were pre-trained and saved using the Scikit-learn library.\n- Flask is used to create the web application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinha532%2Fweather-prediction-ml-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinha532%2Fweather-prediction-ml-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinha532%2Fweather-prediction-ml-system/lists"}