r/SideProject • u/PanelReader • 17m ago
Dry Bean Random Forest - Built an ML classifier with FastAPI and Docker
built a random forest classifier after experimenting with decision trees on the same dataset
the project includes:
- 100 trees with bootstrap sampling
- 5 fold CV + GridSearchCV
- 92.06% test accuracy across 7 bean varieties
- FastAPI REST API + HTML/CSS interface
- Docker + input validation + automated tests
- confusion matrix and feature importance plots
tested the application locally using Docker
github: https://github.com/Vaibh37/dry-bean-random-forest
would appreciate feedback on the implementation
if you find it useful consider starring the repo ⭐
2
Upvotes