johnshields / ML-Web-Service

A Flask Web Service that uses Machine Learning to make predictions based of a Power Production of a Wind Turbine Data Set.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emerging Technologies

GMIT Logo

Project Details

Project Title Machine Learning Web Service
Course BSc (Hons) in Software Development
Module Emerging Technologies
Institute Galway-Mayo Institute of Technology
Student John Shields
Module Lecturer Ian McLoughlin
Grade Achieved A

Web-Service


Project Description

A Flask Web Service that uses Machine Learning to make predictions based of a Power Production of a Wind Turbine Data Set.

Run the Project

How to run the Jupyter Notebook:

From Github

View the Jupyter Notebook HERE. All the cells should run automatically.


From Jupyter Notebook

Run the Jupyter Notebook:

Open the repository directory in Command-Line and enter:

$ cd project_files\train_model
$ jupyter notebook

How to run the Web Service:

Run the Web Service:

Open the repository directory in Command-Line and enter:

$ cd project_files\web_service
$ set FLASK_APP=web_service.py && python -m flask run
Docker Image

Open the repository directory in Command-Line and enter:

$ cd project_files\web_service
$ docker build . -t model_playground
$ docker run -d -p 5000:5000 model_playground

View the Wiki HERE for more detail.

About

A Flask Web Service that uses Machine Learning to make predictions based of a Power Production of a Wind Turbine Data Set.


Languages

Language:Jupyter Notebook 99.1%Language:Python 0.3%Language:HTML 0.2%Language:CSS 0.1%Language:JavaScript 0.1%Language:Dockerfile 0.1%