{"id":26688187,"url":"https://github.com/pradeish29/cloudburst-prediction-flask","last_synced_at":"2026-05-09T15:12:58.007Z","repository":{"id":239029723,"uuid":"798314891","full_name":"pradeish29/CloudBurst-Prediction-Flask","owner":"pradeish29","description":"cloud burst prediction website rendered using flask from a pretrained ml model","archived":false,"fork":false,"pushed_at":"2024-05-18T18:22:01.000Z","size":2318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-18T19:29:01.354Z","etag":null,"topics":["cloudburst","flask","prediction","python3","random-forest","weather-api","weather-prediction"],"latest_commit_sha":null,"homepage":"","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/pradeish29.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-05-09T14:31:11.000Z","updated_at":"2024-05-18T19:29:03.186Z","dependencies_parsed_at":"2024-05-09T15:51:28.190Z","dependency_job_id":"b234b072-b995-4dcf-800f-0a2401e6d27e","html_url":"https://github.com/pradeish29/CloudBurst-Prediction-Flask","commit_stats":null,"previous_names":["pradeish29/cloudburst-prediction-flask"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeish29%2FCloudBurst-Prediction-Flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeish29%2FCloudBurst-Prediction-Flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeish29%2FCloudBurst-Prediction-Flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pradeish29%2FCloudBurst-Prediction-Flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pradeish29","download_url":"https://codeload.github.com/pradeish29/CloudBurst-Prediction-Flask/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245659047,"owners_count":20651526,"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":["cloudburst","flask","prediction","python3","random-forest","weather-api","weather-prediction"],"created_at":"2025-03-26T13:18:03.164Z","updated_at":"2026-05-09T15:12:52.933Z","avatar_url":"https://github.com/pradeish29.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudBurst-Prediction-Flask\n\n## Overview\nThis project is a web application designed to predict cloud bursts using a pre-trained Random Forest model. The application fetches current weather data from a weather API, uses this data to make predictions, and displays the results on a web page rendered with Flask.\n\n## Features\n- **Real-time Weather Data**: Fetches current weather data from an external API.\n- **Machine Learning Prediction**: Uses a pre-trained Random Forest model to predict the likelihood of a cloud burst.\n- **User-Friendly Interface**: Displays predictions and weather data on a clean, responsive HTML page.\n\n## Project Structure\n\ncloud_burst_prediction/\n│\n├── app.py\n├── model/\n│   └── random_forest_model.pkl\n├── static/\n│   └── css/\n│       └── styles.css\n├── templates/\n│   └── index.html\n├── README.md\n├── requirements.txt\n└── config.py\n\n- **app.py**: Main application file that contains the Flask routes and logic for fetching weather data and making predictions.\n- **model/random_forest_model.pkl**: Serialized pre-trained Random Forest model.\n- **static/css/styles.css**: Stylesheet for the HTML pages.\n- **templates/index.html**: Main HTML page to display the weather data and prediction results.\n- **README.md**: This file, providing an overview and setup instructions.\n- **requirements.txt**: List of required Python packages.\n- **config.py**: Configuration file for API keys and other settings.\n\n## Setup Instructions\n\n### Prerequisites\n- Python 3.7 or higher\n- pip (Python package installer)\n\n### Installation\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/yourusername/cloud_burst_prediction.git\n    cd cloud_burst_prediction\n    ```\n\n2. **Create and activate a virtual environment**:\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required packages**:\n    ```bash\n    pip install -r requirements.txt\n    ```\n    \n### Running the Application\n\n1. **Run the Flask app**:\n    ```bash\n    python app.py\n    ```\n\n2. **Access the application**:\n   - Open your web browser and navigate to `http://127.0.0.1:5000`.\n\n## Usage\n\n1. Upon accessing the web application, it will automatically fetch the current weather data using the configured weather API.\n2. The fetched data will be used by the pre-trained Random Forest model to predict the likelihood of a cloud burst.\n3. The prediction results and current weather conditions will be displayed on the main page.\n\n## Contributing\nFeel free to submit issues or pull requests if you have suggestions or improvements.\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n---\n\nBy following these instructions, you should be able to set up and run the cloud burst prediction web application locally. Enjoy predicting cloud bursts with real-time weather data!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeish29%2Fcloudburst-prediction-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpradeish29%2Fcloudburst-prediction-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpradeish29%2Fcloudburst-prediction-flask/lists"}