Course catalogue · Data analysis track, course three

Machine Learning in Data Analysis

Build a prediction model with scikit-learn, evaluate it against the decision it serves, and know when not to deploy it.

Online, self paced2.3 hours5 modules · 20 lessons3.5 CEUNarratedCertificate

What you will learn

  • Define supervised and unsupervised learning and give a health example of each.
  • Distinguish prediction from explanation and say which one a given question needs.
  • Prepare a feature table and a label from the analysis table with the decision time respected.
  • Split the data into training and test sets before any preprocessing, and explain why.
  • Build a confusion matrix at a chosen threshold and compute the four rates from it.
  • Explain sensitivity, specificity, positive and negative predictive value in words a ward understands.
  • Explain how a decision tree makes a prediction and why a single tree overfits.
  • Fit a random forest and compare it fairly with the logistic baseline by cross validation.
  • Check a model performance separately for the groups it could treat unfairly and interpret the gaps.
  • Explain why a model must be validated on data from a different place or time before it is trusted there.

Syllabus

5 modules, each with a knowledge check
🤖1. What machine learning is and when it helpsA model is a decision aid with a cost of being wrong. Start from the decision, not from the algorithm.4 lessons · 27 min
  1. 1.1 Start from the decision7 min
  2. 1.2 Prediction is not explanation7 min
  3. 1.3 The cost of being wrong7 min
  4. 1.4 The running example and the plan6 min

Objectives. Define supervised and unsupervised learning and give a health example of each. Distinguish prediction from explanation and say which one a given question needs. State the decision a model serves and the cost of a false positive and a false negative. Name three situations where a simple rule or a regression is the better choice. Describe the running example and the outreach decision it supports.

🔧2. Building the first modelFeatures, label, split, fit, predict. Eight steps, and the split comes before anything else touches the data.4 lessons · 27 min
  1. 2.1 Features and the label7 min
  2. 2.2 Split first7 min
  3. 2.3 Fit, predict and the pipeline7 min
  4. 2.4 Three leakage checks6 min

Objectives. Prepare a feature table and a label from the analysis table with the decision time respected. Split the data into training and test sets before any preprocessing, and explain why. Fit a logistic regression and a decision tree in scikit-learn and produce scores for new cases. Build a scikit-learn pipeline so that preprocessing is learned only from the training data. Run the three leakage checks before believing any performance figure.

📏3. Evaluating against the decisionSensitivity, positive predictive value, the curve and calibration, each explained through the forty visits.4 lessons · 27 min
  1. 3.1 The confusion matrix7 min
  2. 3.2 The curve and its area7 min
  3. 3.3 Calibration7 min
  4. 3.4 The performance paragraph6 min

Objectives. Build a confusion matrix at a chosen threshold and compute the four rates from it. Explain sensitivity, specificity, positive and negative predictive value in words a ward understands. Read a receiver operating curve and its area, and say what the area does not tell you. Check calibration and explain why a well ranked model can still lie about risk. Choose a threshold from costs and capacity and evaluate at the top of the list.

🌳4. Beyond the first modelTrees, forests, importance and clusters, and the question of whether extra complexity earns its place.4 lessons · 27 min
  1. 4.1 Trees and forests7 min
  2. 4.2 A fair comparison7 min
  3. 4.3 Importance and explanation7 min
  4. 4.4 Finding groups without a label6 min

Objectives. Explain how a decision tree makes a prediction and why a single tree overfits. Fit a random forest and compare it fairly with the logistic baseline by cross validation. Read feature importance and permutation importance and say what they do not mean. Use clustering to describe groups of facilities and interpret the groups. Decide when a more complex model is worth its loss of explainability.

⚖️5. Fairness, deployment and the capstoneA model that works on average can fail a community. Check, validate elsewhere, monitor, and know what would make you switch it off.4 lessons · 28 min
  1. 5.1 Fair on average, unfair to some7 min
  2. 5.2 Validated elsewhere, monitored always7 min
  3. 5.3 Principles and governance7 min
  4. 5.4 Capstone, your model plan7 min

Objectives. Check a model performance separately for the groups it could treat unfairly and interpret the gaps. Explain why a model must be validated on data from a different place or time before it is trusted there. Design monitoring for a deployed model and state the rule that would stop it. Apply the WHO principles for artificial intelligence in health and the national data governance rules to a model project. Write the capstone, a full model plan from decision to stop rule.

Pre-test 15 items before Module 1, not graded  ·  Post-test 30 items, pass mark 80%  ·  Capstone a written plan you export and keep

How it is taught

Narrated micro lessons

Every screen has recorded narration that adds context and examples from Ethiopian hospitals. Lessons are five to ten minutes and resume where you stopped, on any device.

Decisions, not slides

Branching scenarios, matching, ordering and short written tasks with immediate feedback and the reasoning, whichever way you answer.

Blended option

Five ninety minute laboratory sessions, one per module, each ending with a working notebook on the running example.

Tools for Monday

Printable ward cards, checklists and audit forms are linked from the modules and free to adapt.

Frequently asked

How long do I have?

There is no deadline. Most learners finish in one to three weeks of short sessions. Your progress is saved to your account.

Is there a cost?

No. Enrolment, the course, the certificate and the resources are free.

What if I fail the post-test?

You can retake it. The feedback after each item tells you which module to revisit.

Is the certificate recognised for licence renewal?

The certificate states the CEU value calculated at one CEU per hour of learning in line with the national CPD Guideline, with a verification number. Recognition for licence renewal depends on accreditation by the CPD accreditor, which ERAS Africa and the EAA are pursuing.

Can my hospital run it as a workshop?

Yes. Each module has a facilitated 90 minute session plan. Contact ERAS Africa through the website to arrange a cohort.