Skip to content

TAM-VIT/Auto-ARIMA-on-weather-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-ARIMA-on-weather-data

In this case, we've implemented the auto ARIMA algorithm on this time-series based dataset to predict the possible value of energy a given number of steps ahead.
The link to the Google colab code is:
https://colab.research.google.com/drive/10LjiCJJ4aNEpLjh6xaT9JYfhowCL-Q8o?usp=sharing
This model has been pickled followed by deployment using Flask.
The source files for the deployment have been made available here as well.

Deploying ML Model using Flask

Project Structure

This has three major parts :

  1. model.py - This contains code for our Machine Learning model to predict wind speed based on data in 'TexasTurbine.csv' file.

  2. app.py - This contains Flask APIs that receives the no. of steps(hours) through GUI or API calls, computes the precited value based on our model and returns it.

  3. template - This folder contains the HTML template (index.html) to allow user to no. of steps(hours) detail and displays the predicted wind speed.

Installation

Use the package manager pip to install flask.

pip install flask

Running the project

  1. Ensure that you are in the project home directory. Create the machine learning model by running below command from
    command prompt -
python model.py
  • This would create a serialized version of our model into a file model.pkl
  1. Run app.py using below command to start Flask API
python app.py
  1. Navigate to URL and you should be able to view the homepage.

ARIMA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages