/ml-api

API para o modelo de machine learning desenvolvido para o projeto IAe, Bora?

Primary LanguagePython

IAe, Bora?

About   |    Technologies   |    Machine learning models   |    Solution architecture   |    Running locally   |    Running with Docker

Python 3.7

📖 About

API developed in Python which predicts the categories of places that an user should visit based on his answers. This API runs K-Means and Decision Tree Classifier as machine learning models to predict the output.

⚒️ Technologies

👨‍💻 Machine learning models

🏙️ Solution architecture

This repository is represented by the number 3 in the architecture, if you want to view the other repositories of the solution, click on one of the items below:

💻 Running locally

  1. Install the dependencies
$ pip install -r requirements.txt
  1. Run the application
$ python wsgi.py
  1. The application will start running in localhost:8080.

🐳 Running with Docker

  1. Run the following commands on terminal
$ docker build -t <CONTAINER-NAME>:latest .
$ docker run -p 8080:8080 <CONTAINER-NAME>:latest
  1. The application will start running in localhost:8080.