Using accuracy as the only metric
Purpose of correction: On imbalanced data, a useless majority-class classifier can look excellent.
Recommended practice: Use precision, recall, F1, ROC-AUC, or cost-weighted metrics aligned with failure costs.
Ignoring class imbalance
Purpose of correction: Rare but critical events (fraud, defects) get missed while accuracy stays high.
Recommended practice: Stratified splits, class weights, resampling with care, threshold tuning.
Scaling or normalizing the full dataset before splitting
Purpose of correction: Test distribution statistics leak into training—optimistic validation.
Recommended practice: Fit scalers on training data only; apply the same transform to val/test.
Tuning hyperparameters on the test set
Purpose of correction: Test set ceases to be an unbiased estimate of generalization.
Recommended practice: Use validation set or cross-validation; touch test set once at the end.
Not saving random seeds
Purpose of correction: Results cannot be reproduced or compared across experiments.
Recommended practice: Fix seeds for splits, initialization, and document library versions.
Not documenting preprocessing
Purpose of correction: Training-serving skew breaks production models silently.
Recommended practice: Version preprocessing pipelines with the model artifact.
Choosing complex models before baselines
Purpose of correction: Wastes time and hides whether simple methods already solve the problem.
Recommended practice: Start with logistic regression, trees, or linear models; justify added complexity.
Ignoring deployment constraints during model selection
Purpose of correction: Accurate cloud models may be undeployable on device or within latency SLA.
Recommended practice: Define latency, memory, and power budgets before final selection.
Ignoring memory and latency in embedded ML
Purpose of correction: k-NN and large forests can exceed flash/SRAM; inference misses real-time deadlines.
Recommended practice: Benchmark on target hardware; compare quantized vs float predictions.
Assuming export to C/device matches Python predictions
Purpose of correction: Quantization and numeric differences cause silent wrong outputs.
Recommended practice: Sample-by-sample compare Python → exported C → microcontroller.
Confusing feature selection with feature extraction
Purpose of correction: Selection keeps original features; extraction creates new representations (PCA, embeddings).
Recommended practice: Name the step correctly and validate on held-out data after the transform.
Confusing validation results with final test results
Purpose of correction: Repeated validation peeking overfits the validation process.
Recommended practice: Report validation for development; hold out test for final claim only.
Overusing acronyms without understanding their purpose
Purpose of correction: Tools get applied to wrong problems; teams talk past each other.
Recommended practice: For each term, ask: what problem does it solve and where in the pipeline does it live?