AIOps Peach

Deep Learning & MLOps · Module 01

Machine Learning Core Concepts

The shape of a supervised learning problem, why the loss you train on is not the metric you report, the model families worth knowing, and where classical ML stops.

Học tương tác →

Học xong bạn làm được

Bài học

  1. The shape of a supervised problem

    Classical ML is still the right answer for tabular data with thousands of examples. A supervised problem has features (inputs known before the outcome, often engineered) and a label (the answer), split into train, validation and test. The split is a modelling decision - grouped or time-based when rows are not independent - and label leakage makes metrics fiction.

  2. Loss is not the metric

    The loss is what training minimises - differentiable, computed on every example; the evaluation metric is what the business cares about. Metrics come from the confusion matrix and follow the cost of each mistake - accuracy, precision, recall, F1, ROC-AUC, PR-AUC - and accuracy on imbalanced data is the classic trap. A worked example shows 93% accuracy hiding 62% precision.

  3. Model families worth knowing

    Five classical families - linear and logistic regression for an interpretable baseline, decision trees for readable rules, random forests as a solid default, gradient boosting as the usual winner on tabular data, and k-means when there are no labels. Overfitting shows as training performance far above validation; regularization trades a little training accuracy for generalisation. Always beat a non-ML baseline first.

  4. Where classical ML ends

    In classical ML a human designs the features and the model learns from them; in deep learning the network learns its own features from raw pixels, waveforms or characters. Deep learning needs much more data and compute - on a few thousand table rows gradient boosting usually wins. The lesson ends with terms to explore (imbalanced data, time series, validation, pipelines) and review questions.