Machine Learning Madness into Web Applications on the Cloud
summary
Trains a Gradient Boosting model (scikit‑learn GradientBoostingClassifier) on the Kaggle red+white wine CSVs, caps groups to 500 and collapses quality into three classes so training finishes quickly, achieves about 74% accuracy with a confusion matrix showing substantial misclassification between adjacent classes. Saves the model as GBM_model_dump.p with pickle, wraps a Flask app that accepts the acidity/alcohol/etc features and returns class probabilities, and deploys the same package to AWS using the EB CLI and Elastic Beanstalk where the app runs successfully.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 1:40Machine Learning Model
- 2:57Supervised Machine Learning
- 4:35How Machine Learning Works
- 7:00Boosting
- 8:50Ensemble Methods
- 9:34Gradient Boosting
- 11:00You Know Algorithm
- 11:15You Know Model
- 13:00Data Concatenate
- 13:55Data Quality
- 15:10Data Cap
- 18:22Scikitlearn
- 20:35Prediction
- 21:18Confusion Matrix
- 23:00Elastic Beanstalk
- 24:38How it works
- 26:30Predict
- 27:00Testing
- 28:30Hosting in AWS
- 30:15Create Flask Environment
- 31:23Create EC2 Instance
- 34:18Create Environment
