Skip to content

Rainfall prediction models (Linear and Logistic) trained on publicly available datasets from Austin, Texas

Notifications You must be signed in to change notification settings

parinithshekar/rainfall-prediction

Repository files navigation

This repository builds a Linear as well as a Logistic model to predict rainfalls in Austin, Texas.

The following dataset constitutes 3.5 years worth of weather data, including temperature, humidity, dewpoints, etc: https://www.kaggle.com/grubenm/austin-weather

Execute the files linearRegression.py and logisticRegression.py to obtain predictions for an arbitrary day with hardcoded input parameters.

5b3f34740ce87

A day (in red) having a precipitation of about 2 inches is tracked across multiple parameters.

5b3f34511cde8

Manually classifying the precipitation levels into 4 different classes as follows:

  • No Rain: precipitation<0.001

  • Drizzle: 0.001<=precipitation<0.1

  • Moderate Rains: 0.1<=precipitation< 1.2

  • Heavy Rains: precipitation>=1.2

The graphs we obtain after classifying express various trends which tie rainfall and humidity, visibility and temperature together.

5b3f36bd69c75

About

Rainfall prediction models (Linear and Logistic) trained on publicly available datasets from Austin, Texas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages