https://github.com/itsleonb/workout-recommender-api
API for Workout Recommender system. Built with FastAPI.
https://github.com/itsleonb/workout-recommender-api
api content-based-filtering fastapi machine-learning recommender-system workout
Last synced: about 2 months ago
JSON representation
API for Workout Recommender system. Built with FastAPI.
- Host: GitHub
- URL: https://github.com/itsleonb/workout-recommender-api
- Owner: itsLeonB
- Created: 2023-06-09T13:08:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-13T22:12:34.000Z (about 3 years ago)
- Last Synced: 2025-03-03T08:29:40.053Z (over 1 year ago)
- Topics: api, content-based-filtering, fastapi, machine-learning, recommender-system, workout
- Language: Python
- Homepage:
- Size: 4.05 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Workout Recommender API
This API is based on the [ML API Template](https://github.com/kaenova/ml-api-template) by [@kaenova](https://github.com/kaenova). Thanks bang!
## Running the server
1. Clone the repository:
```sh
git clone https://github.com/your-username/your-repository.git
```
2. Install the required libraries:
```sh
pip install -r requirements.txt
```
3. Run the server:
```sh
python main.py
```
## Retrieving recommendations
Access the recommendations endpoint:
```sh
http://localhost:8080/recommendations/{workout_index}
```
Give the selected workout index on {workout_index}. The endpoint will return a list of indices of the top 3 workouts recommended.
### For testing and additional documentation, access the /docs endpoint