Giter Site home page Giter Site logo

itu_predictive_maintenance's Introduction

Requirments

Docker and docker-compose: https://docs.docker.com/engine/install/ubuntu/

GIT LFS: https://git-lfs.com/

Description

This repository contains three components.

A postgres database

The database is used as a backend for storing data for the data generator

A data generator REST service

The REST services provides log messages upon make a regquest.

A REST endpoint for prediction

The REST endpoint for prediction takes a json as input and predicts the probability that the harddrive is failing. Optinally a threshold for anomalies can be provided.

Running the code

Ensure that GIT LFS is installed and that the CSV file is downloaded propperly. If the CSV only contains a SHA pointer, run the following commands:

git lfs fetch
git lfs checkout

From the root of the project (same folder as the readme), run

docker-compose -f docker/docker-compose.yaml up   

Alternatively you can use the make command (requires make)

make compose_up

It can take several minutes for the services to be ready. Go grab a cup of coffe!

Acessing the data generator

By default the data generator listen on localhost:8000
Swagger ui is provided on localhost:8000/docs

Acessing the prediction service

The prediction rest services listens on localhost:8001
Swagger ui is provided on localhost:8001/docs

itu_predictive_maintenance's People

Contributors

mico-boje avatar

Forkers

camelcasecrew

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.