Skip to content

This is a RESTful API built using Flask and Scikit-Learn. It provides a host of Classification and Regression algorithms that can be used readily and returns results in the form of predictions, confusion matrices, accuracy scores and more.

Notifications You must be signed in to change notification settings

saswatamcode/DataScienceAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintenance Ask Me Anything ! made-with-python made-for-VSCode GitHub forks GitHub stars GitHub issues Open Source Love svg1

DataScienceAPI

This is a RESTful API built using Flask and Scikit-Learn. It provides a host of Classification and Regression algorithms that can be used readily and returns results in the form of predictions, confusion matrices, accuracy scores and more.

Description

  • /rfclassification: Classification using Random Forest algorithm.
  • /rfregression: Regression using Random Forest algorithm.
  • /svmclassification: Classification using Support Vector Machines algorithm.
  • /knnclassification: Classification using K-Nearest Neighbor algorithm.
  • /dtclassification: Classification using Decision Trees algorithm.
  • /svmregression: Regression using Support Vector Machines algorithm.
  • /dtregression: Regression using Decision Trees algorithm.
  • /knnregression: Regression using K-Nearest Neighbor algorithm.
  • /gnbclassification: Classification using Naive Bayes(Gaussian) algorithm.
  • /bnbclassification: Classification using Naive Bayes(Bernoulli) algorithm.
  • /logisticregression: Classification using Logistic Regression algorithm.

To Run

  • Clone into repo
  • Type in pip install (preferably inside a virtual environment)
  • Then run python3 main.py
  • Use a REST client to make post requests to the Flask Server

Two sample datasets and the request format are included to test out the API.

About

This is a RESTful API built using Flask and Scikit-Learn. It provides a host of Classification and Regression algorithms that can be used readily and returns results in the form of predictions, confusion matrices, accuracy scores and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages