Skip to content

Using the Iris dataset, train models to solve the following: KNN, Random Forest Classifier, SVM classifier, and a logistic regression classifier. Using FastApi, create an endpoint for each model that will allow you to pass in a target to each endpoint and execute the model

Notifications You must be signed in to change notification settings

ahmedseeif2/FastAPI-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

FastAPI-Machine-Learning

Using the Iris dataset, train models to solve the following: KNN, Random Forest Classifier, SVM classifier, and a logistic regression classifier. Using FastApi, create an endpoint for each model that will allow you to pass in a target to each endpoint and execute the model

Using FastApi, creating an endpoint for each model that will allow you to pass in a target to each endpoint and execute the model.

Let's try KNN model

As we can see there are 4 endpoints, one for each model and it allows us to pass 4 features to get the prediction: sepal_length, sepal_width, petal_length and petal_width. image

image

image

Or we could do the 4 models in one endpoint like this

image

The output will be like that

image

About

Using the Iris dataset, train models to solve the following: KNN, Random Forest Classifier, SVM classifier, and a logistic regression classifier. Using FastApi, create an endpoint for each model that will allow you to pass in a target to each endpoint and execute the model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages