Skip to content

Six-Kizuki-to-the-moon/API-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Deployment

This API has been creating using FLASK

Requirements

Packages

Flask 
numpy
pandas
tensorflow
scikit-learn
mysql-connector-python

Note

  • Make sure you already installed anaconda
  • Make sure you already installed xampp
  • Create database with name 'tourista_db' with contain tables:
    • destination
    • review_wisata
    • trip
    • trip_detail
    • user_account
    • user_profile
  • Import via csv file dataset to each table in the previously created database
  • run the API with "python main.py"

Endpoint

Home

GET

  GET /
Arguments Output
none API tourista already running, for documentation can direct on github

Content Based Filtering

POST

All of the body for given data only using x-www-form-urlencoded format

  POST /ml/recommendContentBased
Key Info
user_id Required
category Required
city Required
price Required

Collaborative Filtering

POST

All of the body for given data only using x-www-form-urlencoded format

  POST /ml/recommendCollab
Key Info
user_id Required
user_lat Required
user_long Required

Similarity Item

POST

All of the body for given data only using x-www-form-urlencoded format

  POST /ml/recommendSimilarItem
Key Info
`destination_name' Required

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published