Skip to content

DIVYA-19/ML-model-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning model END-to-END API

END-to-END machine learning model built on iris dataset

  • api will be up on url http://localhost:8000/
  • to get predition POST data point(single) to http://localhost:8000/predict in the format {'data': [int,...]}
  • curl example: curl -d '{"body":[1,2,3,4]}' -H 'Content-Type: application/json' http://localhost:8000/predict

To run the application

  • clone the repo
  • run pip install -r requirements.txt
  • run python api.py

Releases

No releases published

Packages

 
 
 

Languages