{"id":24087905,"url":"https://github.com/tejas-130704/forestfire-model","last_synced_at":"2026-05-11T01:46:12.381Z","repository":{"id":259423262,"uuid":"847878372","full_name":"tejas-130704/ForestFire-Model","owner":"tejas-130704","description":"This project is a web application built using Flask and machine learning for predicting forest fire risks based on environmental factors. The model uses Ridge Regression and StandardScaler for preprocessing and prediction. The application allows users to input relevant environmental data and obtain forest fire risk predictions.","archived":false,"fork":false,"pushed_at":"2025-01-07T14:06:00.000Z","size":756,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T15:20:06.501Z","etag":null,"topics":["data-science","flask-application","forest-fire","machine-learning","python3"],"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/tejas-130704.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-26T18:07:52.000Z","updated_at":"2025-01-07T14:34:25.000Z","dependencies_parsed_at":"2025-01-07T15:31:48.228Z","dependency_job_id":null,"html_url":"https://github.com/tejas-130704/ForestFire-Model","commit_stats":null,"previous_names":["tejas-130704/datascience","tejas-130704/forestfire-model"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejas-130704%2FForestFire-Model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejas-130704%2FForestFire-Model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejas-130704%2FForestFire-Model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejas-130704%2FForestFire-Model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejas-130704","download_url":"https://codeload.github.com/tejas-130704/ForestFire-Model/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240982489,"owners_count":19888511,"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":["data-science","flask-application","forest-fire","machine-learning","python3"],"created_at":"2025-01-10T03:55:37.355Z","updated_at":"2026-05-11T01:46:07.266Z","avatar_url":"https://github.com/tejas-130704.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forest Fire Prediction Model\n\nThis project is a web application built using Flask and machine learning for predicting forest fire risks based on environmental factors. The model uses Ridge Regression and StandardScaler for preprocessing and prediction. The application allows users to input relevant environmental data and obtain forest fire risk predictions.\n\n## Project Structure:\n- **`application.py`**: Main file containing the Flask web application and Ridge Regression model for prediction.\n- **`models/`**: Directory containing the pre-trained models (`ridge.pkl`) and scaler (`scalar.pkl`).\n- **`templates/`**: Contains HTML templates for rendering the user interface.\n\n## Parameters:\n- **Month**: Month of the year (e.g., \"jan\" to \"dec\").\n- **Day**: Day of the week (e.g., \"mon\" to \"sun\").\n- **FFMC**: Fine Fuel Moisture Code (FFMC) index.\n- **DMC**: Duff Moisture Code (DMC) index.\n- **DC**: Drought Code (DC) index.\n- **ISI**: Initial Spread Index (ISI).\n- **Temp**: Temperature in Celsius.\n- **RH**: Relative Humidity.\n- **Wind**: Wind speed in km/h.\n- **Rain**: Rainfall in mm/m².\n\n## Output:\nThe model predicts the **FWI (Fire Weather Index)** value, which represents the fire risk based on the given environmental conditions. A higher FWI indicates a higher risk of forest fire occurrence.\n\n## Requirements:\n- Flask\n- scikit-learn\n- numpy\n- pandas\n\n## How to Run:\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/tejas-130704/ForestFire-Model/\n   ```\n2. Install dependencies:\n   ```\n   pip install -r requirements.txt\n   ```\n3. Run the Flask application:\n   ```\n   python application.py\n   ```\n4. Access the app via `http://127.0.0.1:5000/` in your browser.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejas-130704%2Fforestfire-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejas-130704%2Fforestfire-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejas-130704%2Fforestfire-model/lists"}