项目作者: anyulled

项目描述 :
Machine Learning Microservice API - Udacity DevOps nanodegree program
高级语言: Python
项目地址: git://github.com/anyulled/Machine-Learning-Microservice-API.git
创建时间: 2020-05-03T14:03:28Z
项目社区:https://github.com/anyulled/Machine-Learning-Microservice-API

开源协议:MIT License

下载


Machine Learning Microservice API

Machine Learning Microservice API

circleCI

Summary

This project contains a web application to predict prizes based un machine learning algorithms based on some data.
It also contains all the necessary configuration to run the application within a docker container and within a kubernetes cluster.

How to run the Python scripts

You can either run the application via python3 app.py to run it locally, but you’re encouraged to run it within a containerized environment.
Please refer to the run_docker.sh and run_kubernetes.sh scripts.

Run web app

Perform:
shell script make run
It will run the python app in port 80.

Files in the project

  • run_docker.sh running the application within docker.
  • run_kubernetes running the application within kubernetes cluster.
  • make_prediction.sh once the application is running, this script makes a request to the web server.