EN
Complete self-study package

Modern Deep Learning Foundations

Learn by predicting, running mathematically grounded experiments, explaining evidence, and exporting an inspectable mastery artifact.

Laboratories
6
Guided time
4h 20m
Mastery artifacts
6
0%
0 of 6 laboratories complete Your progress is stored in this browser. Continue this laboratory
Lab 1 of 6 Understanding Evaluation with AUC-ROC Curve Foundation / 35 min / Deliverable: Threshold policy brief
Screen 1 of 3 - Read before you experiment

A score becomes a decision only after you choose a threshold

ROC-AUC evaluates how well a classifier ranks positive cases above negative cases across every possible threshold. It does not select the operating threshold for you.

The selected threshold creates the confusion matrix. Moving it changes false positives and false negatives, so the right operating point depends on the cost of each error in the real decision context.

Exact book map

Lesson 5 - Performance Evaluation Metrics

Printed pages 33-40; PDF pages 35-42.

Open the exact pages
  1. Confusion Matrix printed pp. 34-36 / PDF pp. 36-38 paragraphs 1-6; Equations 5.2-5.8
  2. ROC Curve and AUC printed pp. 37-38 / PDF pp. 39-40 paragraphs 1-5; Equation 5.9
  3. Balanced Accuracy and MCC printed pp. 39-40 / PDF pp. 41-42 closing metric-comparison paragraphs
Evidence levelReal holdout predictions + controlled teaching example
What is real, computed, or illustrative

Evidence and provenance

Measured Dataset UCI Wisconsin Diagnostic Breast Cancer holdout

113 held-out cases; the operating threshold never changes the underlying scores.

Derived Computation Exact confusion matrix, ROC, and trapezoidal AUC

Every displayed metric is recomputed in the browser from the selected profile.

Illustrative Teaching profile A deliberately readable AUC 0.80 example

Use it to learn threshold trade-offs, then verify the same ideas on the real holdout.

Scope Claim boundary Ranking quality is not a deployment policy

AUC compares rankings; an operating threshold must reflect the cost of false positives and false negatives.

Interactive model evaluation laboratory

Understanding Evaluation with AUC-ROC Curve

Move the decision threshold and inspect how sensitivity, specificity, the confusion matrix, and the ROC curve respond together.

Explore the operating threshold Adjust one control at a time. Compare AUC, the selected ROC point, and every cell in the confusion matrix before making a model decision.
Reproducible experiment record

Compare runs instead of trusting one result

Run the laboratory, then capture the controls, metrics, evidence status, seed, and timestamp.
The accessible visual summary will update when the laboratory renders its first result.
Evidence checkpoint

Explain what happened, then transfer it

0 / 3responses complete

After moving the threshold, explain what changed in TP, FP, TN, FN, recall, and specificity, and why AUC did not change.

Use at least one value or visible change from the experiment.

Choose a real screening, fraud, or quality-control decision and justify a threshold policy for it.

Name the new context and the design choice you would make.
  • Names the stakeholder and decision context
  • Specifies the relative cost of FP and FN
  • Chooses and justifies an operating threshold
  • States a limitation or monitoring condition

Responses are stored only in this browser.

Continue to the metric interpretation
Screen 3 of 3 - Consolidate

By the end of this lesson, you will be able to:

  • Calculate and interpret accuracy, precision, recall, specificity, and F1 from a confusion matrix.
  • Explain how changing the decision threshold alters classification outcomes and operating trade-offs.
  • Interpret a ROC curve and distinguish threshold-independent AUC from one selected operating point.

In the previous lessons, we built a neural network, trained it on real data, updated weights using gradients, and selected an optimizer. Now it is time to ask a critical question: how do we know if our model is actually good? The goal of machine learning is not to memorize training data, but to generalize - that is, to perform well on new, unseen data. This ability is known as the model's generalization ability, and it is the central measure of any predictive system.

Mastery artifact

Leave with inspectable evidence, not a completion click

Your artifact combines the prerequisite check, prediction, experiment configuration, displayed evidence, explanation, transfer rubric, and confidence change.

Complete the evidence cycle to unlock the artifact.
Retention plan

Retrieve the concept after time has passed

Complete the artifact to schedule a 24-hour retrieval prompt and a seven-day transfer revisit.

Learning-study instrument

Help evaluate whether the laboratory teaches the concept

No name, email address, free text, or IP address is retained in the learning record.