Skip to content

Prediction of Visibility distance based on different climatic conditions.

Notifications You must be signed in to change notification settings

mshubham1/visibility_distance_prediction

Repository files navigation

Visibility Distance Prediction

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.

Table Content ✏️

  • Demo
  • Overview
  • Dataset
  • Installation
  • Deployment
  • Documentation
  • Directory Tree
  • Technology Used
  • Bug/Feature Request
  • Future scope of project

Demo

ezgif com-gif-maker

Heroku:- https://visibility_distance_prediction.herokuapp.com/

Overview 📜

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

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.

Installations 🗄️

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

Deployment

image

Database

Screenshot (33)

Tree Structure

├── 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

Technologies Used

  • Python
  • FrontEnd: HTML & CSS
  • Backend: Flask
  • Deployment : AWS, Heroku

image image image

Contributers

You can feel free to reach out me at shubhammourya2014@gmail.com

@Shubham Mourya

About

Prediction of Visibility distance based on different climatic conditions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published