To build a regression model to predict the visibility distance based on the given different climatic indicators in the training data. Visibility affects all forms of traffic: roads, sailing, and aviation. Visibility prediction is meaningful in guiding production and life.
- Demo
- Overview
- Dataset
- Installation
- Deployment
- Documentation
- Directory Tree
- Technology Used
- Bug/Feature Request
- Future scope of project
Heroku:- https://visibility_distance_prediction.herokuapp.com/
The application is a web app which is developed in Flask Framework.
- Data Exploration - Using pandas,numpy,matplotlib and seaborn.
- Data Visulization- Insights obtained through graph about dependent and independent variable.
- Feature Engineering - Drop the column with higher correlation and perform StandardScaler to scale the data.
- Model Training - Trained the model with different regressor algo and obtained the DecisionTreeRegressor with best score.
- Deployment - Biuld the webpage through Streamlit Library and deployed on heroku app.
Dataset available in IBM : https://developer.ibm.com/exchanges/data/all/jfk-weather-data/
The NOAA JFK dataset contains 114,546 hourly observations of various local climatological variables (including visibility, temperature, wind speed and direction, humidity, dew point, and pressure). The data was collected by a NOAA weather station located at the John F. Kennedy International Airport in Queens, New York.
The Code is written in Python 3.8 If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:
pip install -r requirements.txt
├── database
│ ├──logger.py
├── log_file
│ ├── db_operation.txt
│ ├── Model_tarining.txt
├── models
│ ├── database.html
│ ├── index.html
├── templates
│ ├── model_train
│ ├── index.html
├── EDA.ipynb
├── Procfile.txt
├── jkf_weather_cleaned.csv
├── app1.py
├── requirements.txt
├── README.md
- Python
- FrontEnd: HTML & CSS
- Backend: Flask
- Deployment : AWS, Heroku
You can feel free to reach out me at shubhammourya2014@gmail.com
@Shubham Mourya