Skip to content

alejandro-requena-cervera/API-Wines-Model-TheBridge_exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developed Using Python Built Using Flask
Python Logo Python Logo
App is deployed in Fl0 Database is deployed on AWS RDS
fl0 Logo AWS Logo

Python Flask App Exercise

This is a Flask app that take predictions with a modified wine model from Sklearn.

This application is an exercise to test the knowledge acquired in class.

Home Page

Home Page The homepage has an index with a short explanation of what each API does. The result is returned as JSON in version 0. Version 1 collects information via a form. The result is displayed in HTML.

Take Predictions

Take Predictions Once the variables have been entered, they are passed to the trained model to make a prediction. Displays the result of the prediction and the inputs entered.

View Database

View Database It is necessary to specify the database to be viewed. This is returned as JSON or HTML depending on the version. The database containing the samples and their predictions can be deleted from the same page (v1).

Delete Database

Delete Database You must enter the database you wish to delete. The application will ask for confirmation before deleting (version 1 only).

🤚⚠️ APPLICATION STATUS UPDATE

Database and application are currently disconnected from their servers.