Views
No views yet
load BMPs -> preprocess (CLAHE + Gabor) -> features (HOG/LBP/GLCM)
-> stratified 70/15/15 split -> train 6 classifiers
-> evaluate on held-out test -> save models + results.json1pip install -r requirements.txt
2python main.pycache/features.npy, cache/labels.npy — the cached feature matrixmodels/<name>.pkl — six trained sklearn pipelinesresults.json — leaderboard with per-class precision/recall/F1| Model | What it is |
|---|---|
| logistic_regression | linear, scaled, class-balanced |
| linear_svm | LinearSVC + Platt calibration (predict_proba) |
| knn_pca50 | KNN (k=11, distance-weighted) on PCA-50 |
| random_forest | 500 trees, class-balanced |
| gaussian_nb | scaled GaussianNB |
| decision_tree | max_depth=20, min_leaf=5, class-balanced |
cluster_N_*.BMP where N matches the class —
strong evidence the labels were generated by clustering rather than real
ABO+Rh blood typing. A linear model on handcrafted features matches a deep
network on this data, which means both are fitting a dataset artifact rather
than biology. Do not use this for medical decisions.