RottenFruits / ml_api_samples

This repository is a machine learning prediction ap samples for iris data by implementing python, R and Julia(todo).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ml api samples

This repository is a machine learning prediction ap samples for iris data by implementing python, R and Julia(todo).

Installation

  • clone.
git clone https://github.com/RottenFruits/ml_api_samples.git
  • docker build and start.
cd ml_api_samples
docker-compose build
docker-compose up -d

Usage

Browser

p1

  • input data

p2

  • submit, return result

p3

Command line

  • python api exection command
curl http://0.0.0.0:5000/predict -X POST -H 'Content-Type:application/json' -d '{"feature":[1, 1, 1, 1]}'
  • r api exection command
curl http://0.0.0.0:6100/predict -X POST -H 'Content-Type:application/json' -d '{"feature":[1, 1, 1, 1]}'

References

About

This repository is a machine learning prediction ap samples for iris data by implementing python, R and Julia(todo).

License:MIT License


Languages

Language:HTML 51.8%Language:Python 11.9%Language:Julia 11.1%Language:R 9.4%Language:Dockerfile 8.6%Language:Go 7.2%