Completed BTH coursework
Wine Quality Classification
A controlled comparison of scikit-learn classification pipelines with and without training-fold resampling.
- scikit-learn
- imbalanced-learn
- Python
- Jupyter
70.3%holdout accuracy without SMOTE in the rerun
The problem
Test whether training-fold resampling improves holdout performance on red wine quality labels.
Technical approach
The notebook compares Random Forest and SVM pipelines. Scaling and optional SMOTE occur within training folds. The pipelines are refit on the training set and scored on a common holdout.
- UCI red wine data
- Train and holdout split
- Fold-local scaling and optional SMOTE
- Model selection
- Common holdout evaluation
My contribution
The coursework notebook and its documentation provide the experimental implementation and source attribution.
Results and evaluation
- The local rerun measured 70.3% holdout accuracy without SMOTE and 66.9% with SMOTE. In this experiment, resampling lowered overall holdout accuracy.
Limitations
The comparison uses one dataset and one documented split. Class-level metrics and repeated splits would help establish whether the aggregate result conceals improvements on minority classes.