I treat machine learning as a practical discipline of trustworthy evaluation, sound validation, and continued monitoring—not just a matter of memorizing algorithms or calling fit() and predict().
I frame the learning loop as Data → Model → Loss → Optimize → Predict.
I remember the distinction: Parameters are learned.
I regard Generalization is the actual goal, because a low training loss means little if performance disappears on unseen data.
I fit scalers and encoders only on training data.
I keep the test set untouched until the end; repeatedly optimizing against it means it is no longer a real test set.
For time series, I follow this guidance: Use time-aware splits for time series.
When splitting grouped data, I keep grouped users on one side.
I stratify rare classes.
I use the principle Metrics 𝗗𝗲𝗽𝗲𝗻𝗱 𝗼𝗻 𝘁𝗵𝗲 𝗖𝗼𝘀𝘁 𝗼𝗳 𝗕𝗲𝗶𝗻𝗴 𝗪𝗿𝗼𝗻𝗴: accuracy can hide the mistakes that matter.
I use the question Precision: of what you flagged, how much was correct? to interpret precision.
I use the question Recall: of everything real, how much did you catch? to interpret recall.
I use F1: when both matter, meaning when both precision and recall matter.
I regard PR AUC: especially useful with rare positive classes.
I treat the classification threshold as a business decision, not automatically 0.5.
After deployment, I watch for Data drift, Training-serving skew, Feedback loops, and Silent upstream failures.
After deployment, I monitor Prediction distribution changes, along with latency and error rates.
I describe the end-to-end workflow as Frame → Clean → Engineer Features → Split → Train → Evaluate → Deploy → Monitor.
I shared the PracticAI Interview Kit at https://lnkd.in/guPzFkTe.
Related: ai engineering fundamentals, ai system security, production ai agent design