Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walkerdustin/ml-services-api
API for a ML model, that predicts the quality of a wine (from 0 to 10) using some chemical attributes of the wine
https://github.com/walkerdustin/ml-services-api
ai artificial-intelligence fastapi heroku heroku-deployment machine-learning rest restful-api
Last synced: 8 days ago
JSON representation
API for a ML model, that predicts the quality of a wine (from 0 to 10) using some chemical attributes of the wine
- Host: GitHub
- URL: https://github.com/walkerdustin/ml-services-api
- Owner: walkerdustin
- License: mit
- Created: 2021-12-06T12:35:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-11T17:51:05.000Z (over 1 year ago)
- Last Synced: 2024-10-12T02:43:53.489Z (about 1 month ago)
- Topics: ai, artificial-intelligence, fastapi, heroku, heroku-deployment, machine-learning, rest, restful-api
- Language: PureBasic
- Homepage:
- Size: 657 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backend API for a ml Service
>the API is live
[Frontend]( https://predict-red-wine-quality-with-ml.netlify.app )
[Backend](https://predict-wine-quality-api.herokuapp.com/docs#/default/get_body_predict_post)backend with Python FastApi https://fastapi.tiangolo.com/
API for a ML model, that predicts the quality of a wine (from 0 to 10) using some chemical attributes of the wine
## commands
Run server
```bash
uvicorn main:app --reload
```## API
```bash
https://predict-wine-quality-api.herokuapp.com/predict
```POST request with body
```
{
"volatile acidity": 0.7,
"citric acid": 0.0,
"residual sugar": 1.9,
"chlorides": 0.076,
"free sulfur dioxide": 11.0,
"total sulfur dioxide": 34.0,
"density": 0.9978,
"pH": 3.51,
"sulphates": 0.56,
"alcohol": 9.4
}
```