The University of Melbourne · FACULTY OF COMPUTER SCIENCE

COMP90089 Chap.7 Clinical Accuracy, Calibration and Thresholds

- one subject, every graph, every model, every mark
5 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 7 of 9 · COMP90089

Clinical Accuracy, Calibration and Thresholds

Define sensitivity

The course material gives this chapter a concrete anchor: Week 7 directly covers clinical accuracy metrics and the AI lifecycle. That sensitivity anchor controls how positive predictive value is explained and how calibration is tested in changed practice.

Clinical Accuracy, Calibration and Thresholds turns sensitivity, positive predictive value and calibration into executable reasoning.

The chapter's practical target is to calculate confusion-matrix metrics and select a threshold from consequences, so every explanation should connect syntax to program state, control flow and observable output.

Treat sensitivity as a precise program object, not a loose label. Identify the value or responsibility of sensitivity before execution, then trace what can read it, change it or depend on it.

This makes state changes visible before they become debugging guesses.

Use positive predictive value to explain the program's next move. Work through one representative positive predictive value input by hand and name the branch, iteration or call that follows.

If the positive predictive value trace cannot be stated, the code may run by accident rather than by understood design.

Bring in calibration as the test of structure.

Compare normal, boundary and invalid inputs for calibration; state the expected behaviour first; then use the mismatch between expectation and result to localise the defect.

For the application — calculate confusion-matrix metrics and select a threshold from consequences — write the smallest complete example that exposes the rule.

Explain why the calibration result works, what would break it and how the program should signal or recover from that failure.

Formula checkpoint: sensitivity

Sensitivity and PPV
Sensitivity=TPTP+FN,PPV=TPTP+FPSensitivity=\frac{TP}{TP+FN},\quad PPV=\frac{TP}{TP+FP}

The two measures answer different denominator questions at a specified threshold.

Trace positive predictive value

Before running an example involving sensitivity, make a trace table with the important state before and after each operation.

Include the value associated with sensitivity, the control decision governed by positive predictive value and the output or object affected by calibration. The sensitivity table turns an unexplained result into a sequence that can be tested one transition at a time.

Test three inputs: an ordinary case, a boundary case and an invalid case.

State the expected calibration result for each before execution, then compare it with what the program actually does. A useful test of positive predictive value isolates one rule; changing several conditions at once cannot reveal which condition caused the failure.

Practise explaining the solution without reading the code.

For comp90089, name the data representation, the control flow, the responsibility of each function or class and the reason the chosen design supports calculate confusion-matrix metrics and select a threshold from consequences.

This calibration rehearsal matters when a written test or interview asks why the program works rather than whether it produces one correct output.

A complete response should make the task visible before the detail: identify what must be decided, define the relevant terms, connect the evidence to positive predictive value, and use calibration to test the result.

The final sentence about calibration should answer the question actually asked rather than merely repeat the topic.

The controlling limit is specific: AUROC can remain high while calibration, subgroup performance or useful operating points fail.

Keep that calibration limit beside the worked example, because it separates a careful comp90089 answer from one that sounds confident but claims more than the task or evidence supports.

For revision, retrieve sensitivity, positive predictive value and calibration without notes, explain their relationship aloud, then complete a changed version of the application: calculate confusion-matrix metrics and select a threshold from consequences.

Record the first failed positive predictive value reasoning move and repair it before attempting another case.

In this chapter

What this chapter covers

  • 01

    sensitivity

  • 02

    positive predictive value

  • 03

    calibration

  • 04

    Applying sensitivity

  • 05

    Limits of positive predictive value and calibration

Worked example · free

Read a confusion matrix

Q. AskSia-authored practice. A model identifies 72 of 90 cases and raises 120 alerts, of which 72 are true. Find sensitivity and PPV. The step allocation is an independently authored practice structure, not an official marking scheme.
  • 1Compute sensitivity 72/90=80%.
  • 1Compute false positives as 48.
  • 1Compute PPV 72/120=60%.
  • 1Explain the operational consequence.
Sensitivity is 80% and PPV is 60%; 40% of alerts are false positives in this cohort, so staffing and harm must enter threshold choice.
Sia tip — Every metric needs its denominator and cohort.
Glossary

Key terms

sensitivity
Proportion of actual positive cases correctly classified positive at a threshold. This chapter uses the concept when students calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences.
positive predictive value
Proportion of positive predictions that are truly positive in the evaluated cohort. It helps explain the reasoning required to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences.
calibration
Agreement between predicted probabilities and observed outcome frequencies. Its limit matters because AUROC can remain high while calibration, subgroup performance or useful operating points fail. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences. Use this definition when the task is to calculate confusion-matrix metrics and select a threshold from consequences.
FAQ

Clinical Accuracy, Calibration and Thresholds FAQ

Which inputs and assumptions control the attempt to calculate confusion-matrix metrics and select a threshold from consequences?

Calculate confusion-matrix metrics and select a threshold from consequences. Week 7 directly covers clinical accuracy metrics and the AI lifecycle. Proportion of actual positive cases correctly classified positive at a threshold. This chapter uses the concept when students calculate confusion-matrix metrics and select a threshold from consequences.

Can AUROC remain high while calibration, subgroup performance or useful operating points fail?

AUROC can remain high while calibration, subgroup performance or useful operating points fail. Proportion of positive predictions that are truly positive in the evaluated cohort. It helps explain the reasoning required to calculate confusion-matrix metrics and select a threshold from consequences.

If a student were to lower prevalence or raise the false-positive cost, how should they reassess the threshold?

Sensitivity is 80% and PPV is 60%; 40% of alerts are false positives in this cohort, so staffing and harm must enter threshold choice. AUROC can remain high while calibration, subgroup performance or useful operating points fail.

Study strategy

Assessment move

Reconstruct the relationship among sensitivity, positive predictive value and calibration; complete the chapter application without notes; then test the result against this limit: AUROC can remain high while calibration, subgroup performance or useful operating points fail.

Working through Clinical Accuracy, Calibration and Thresholds in COMP90089? Sia is AskSia’s AI Computer Science tutor — ask any COMP90089 Clinical Accuracy, Calibration and Thresholds question and get a clear, step-by-step explanation grounded in how COMP90089 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 30 of your The University of Melbourne subjects - and 1,000+ Bibles across every Australian university.
Sia - your COMP90089 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
Unlock the full COMP90089 Bible + 30 The University of Melbourne subjects
$0.99 Trial