Skip to content

An API to load ML model and make prediction through docker container

Notifications You must be signed in to change notification settings

eushay/practice_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A short code to build an api which loads an ML model and makes a prediction everytime the data is posted. Training of the model is done elsewhere. PostToAPI notebook contains how the data can be posted.

A docker file is also provided to build the docker image.

To build docker image:
docker build -t praticeapiapp .

To run docker image:
docker run -d --name apirunning -p 8000:8001 practiceapiapp

About

An API to load ML model and make prediction through docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published