BMS5010 Artificial Intelligence for Health Science Research and Management
BMS5010 Overview
- City University of Hong Kong
- Semester A, 2026/27
- Postgraduate taught course
- Department of Biomedical Sciences
- Python, scikit-learn, Keras, PyTorch
What this course is actually asking you to do
This is a postgraduate course in the Department of Biomedical Sciences that teaches machine learning and artificial intelligence methods and their application to health science problems, and it is programming-intensive by design.
- Assessed by A group project worth half the mark, an individual Python assignment worth a quarter, and a mid-term examination in the week seven lecture slot.
- The skill being tested Choosing the error measure the clinical decision needs, and defending that choice out loud with the notebook open.
- Hardest step Keeping every step that learns from data inside the training portion, so the figure you report is an estimate rather than a memory.
- Where to confirm Weights, deadlines and submission settings are controlled by the course site, which also carries an older and incompatible assessment table.
How BMS5010 is assessed
| Component | Weight | Format |
|---|---|---|
| Assignment: Demonstration | 10% | Individual demonstration of your submitted notebook, up to five minutes plus two minutes of questions |
| Assignment: Code | 15% | One Jupyter notebook covering both tasks, which must run without an error |
| Mid-Term Examination | 25% | Held in the week seven lecture slot; no format is published in the course materials |
| Group Project: Demonstration | 20% | Group presentation of up to fifteen minutes plus five of questions, assessed individually |
| Group Project: Code | 15% | An archive that reproduces the results in the report, marked for the whole group |
| Group Project: Report | 10% | Six pages of text, two of figures and one of references, marked for the whole group |
| Group Project: Peer Assessment | 5% | A contribution statement and peer marks, averaged from your group mates |
The assessment structure published in the Week 1 lecture for this offering lists these seven components and prints its own total of one hundred per cent, with a separate line recording that the end-of-semester examination carries zero. Every row matches a live submission point on the course site. The word hurdle does not appear anywhere in the course materials, and a numeric attendance threshold is not published there either, although attendance in person at a scheduled demonstration is a stated condition of scoring at all for that component; check the course site for whether either bears on whether you pass. Note also that the syllabus page on the course site displays an older and incompatible table, described in the questions below.
Assessment structure
Segment widths reproduce the published percentage weights and total 100%.
Current BMS5010 dates
| Date | Item | Control |
|---|---|---|
| 12 October 2026 | Mid-Term Examination | Shown in the week seven row of the published course schedule for this offering. |
| 8 November 2026 | Individual assignment notebook | Due 11:59pm, stated on the submission point on the course site, with the demonstration in week eleven. |
| 15 November 2026 | Group project demonstration slides | Due 11:59pm, stated on the submission point on the course site; demonstrations run in weeks twelve and thirteen. |
| 13 December 2026 | Group project code, report and peer evaluation | All three due 11:59pm, stated on their submission points on the course site. |
Dates are as published in the published course schedule and the submission points on the course site for this offering. Confirm exact deadlines and submission settings in the live LMS.
What BMS5010 covers
Seven chapters follow the published teaching sequence, from what a learning algorithm does through the supervised and unsupervised task types to the error measures for each, generalisation, and the reproducible notebook you demonstrate in person.
How Machines Learn from Health Science Data
the nesting of artificial intelligence, machine learning and deep learning · the three-step training loop · who supplies the features · five published limits and seven adoption obstaclesThree words that are not synonyms
Artificial intelligence is the outer scope, described in the course through a definition attributed to John McCarthy as the science and engineering behind machines that behave intelligently.
- Artificial intelligence, machine learning and deep learning as nested scopes
- The three-step training loop and what it implies about measurement
- Feature extraction by a person against representation learned from data
- When the extra cost of learned features is and is not worth paying
- Five published limits, and which one produces the commonest false sentence
- The demand-gap form of the benefit argument
Supervised Learning: Classification and Regression
labelled data and what the label really records · binary against multiclass · continuous targets and their units · penalised fits and what each penalty buysWhat the label buys and what it costs
Supervised learning is defined in the course as the category of machine learning that trains algorithms on labelled datasets so that they predict outcomes and recognise patterns, and the strategy is given in three moves: collect a dataset of labelled training examples, teach a model to produce accurate predictions on it, and rely on the model staying accurate on new data of the same kind.
- Labelled data, and the decision a label actually records
- Binary against multiclass, and the multi-label shape that is neither
- Continuous targets, units, and what a model is conditioned on
- The linear prediction written out, and what fitting means
- Absolute-value against squared penalties on the coefficients
- Why a penalised estimator's training error is not evidence
Unsupervised Learning: Clustering and Structure
learning without labels · straight-line distance against angle · the cluster identifier as an output · dimension reduction and the curse of dimensionalityLearning with nothing to be wrong against
Unsupervised learning is defined in the course as the framework in which algorithms learn patterns exclusively from unlabelled data.
- Unsupervised learning and the four kinds of pattern the course names
- Classification against clustering, row by row, including how each can be wrong
- Straight-line distance against the angle between feature vectors
- Why scale decides a clustering before the algorithm runs
- The cluster identifier as an output with no explanation attached
- The adjusted Rand index and the silhouette score, and what each needs
Measuring Error in a Regression Model
absolute against squared error · the root and the units it restores · outlier sensitivity as a choice · the random-input control in a four-model comparisonThree summaries of the same column of mistakes
A regression model produces a number and the outcome it predicted is a number, so a difference is available for every row.
- Average absolute difference, average squared difference and the root of the second
- How the exponent alone produces every other difference between them
- Outlier sensitivity as a property of your data rather than of the measure
- The correspondence between each loss and its regularisation penalty
- Why taking the root cannot reorder two models
- Reading the residual column instead of only its summary
Reading a Confusion Matrix Without Being Fooled
four cells and the four totals built from them · row ratios against column ratios · why prevalence moves a predictive value · sweeping the threshold and reading the curveFour counts, and the four totals built from them
For a binary decision the course summarises performance in a two by two table, described as how well a model separates patients who have the condition from those who do not.
- The four cells defined by what happened to a person
- The four totals, and why the denominator is the meaning
- Sensitivity and specificity as properties of the test
- Precision and negative predictive value as properties of a result
- The majority-class baseline that accuracy has to beat
- The combined figure built from precision and recall, and its blind spot
Overfitting, Validation and Generalisation
three failure shapes across regression, classification and clustering · three portions of data · early stopping · leakage · internal against external validationThree states, and none is a property of the model alone
The course frames overfitting, underfitting and good fit as descriptions of how well a model generalises to data it has not seen, and that framing is worth taking literally.
- Three states, each defined as a gap between two measurements
- Causes against symptoms, and why the two lists must not be mixed
- The same triple in regression, in classification and in clustering
- Training, validation and test portions and the job each one does
- Early stopping at the turn in the validation curve
- Leakage, and the order of operations that prevents it
Building a Notebook You Can Defend
a named environment and the published package set · markdown, code and results for each task · the four ways marks are lost · the shared archive and the report limitsThe artefact has to survive a conversation
Thirty of the hundred marks are given for standing in front of an assessor and explaining work you are not permitted to edit while you do it, which is more than the mid-term carries.
- Why the demonstration changes what counts as finishing a task
- A named environment, one package set, and the reason not to mix installers
- Markdown, code and results sections as the structure the marks name
- The four published ways to lose marks, none of them about analysis quality
- Paths, packages and hidden state, and the one habit that prevents all three
- The group project topics, their paired open datasets, and the mark split
The lecture hour covers the concepts of the algorithms and their applications; the laboratory hour is a practical guide to coding, to the individual assignment and to the group project. The course materials are unusually direct about who should not take it, listing prior programming experience as an assumption and heavy independent study outside class as a requirement.
Three quarters of the mark is earned through work you build in Python and then explain in person to an assessor who can ask you anything about it.
How Machines Learn from Health Science Data
The opening chapter separates three words that are used interchangeably outside this room and are not interchangeable inside it.
Artificial intelligence is the engineering ambition, machine learning is the route that learns behaviour from accumulated data rather than from written rules, and deep learning is the branch in which the system learns its own representation of the input instead of being handed features by a person.
The training loop is stated in three steps, see a known answer, measure the gap, adjust the weights, and every method later in the course is a variation on it.
The chapter closes on the five limits the course publishes, of which the two that reach print most often are that these systems find correlation rather than causation and that they are only as good as the data they learned from.
Supervised Learning: Classification and Regression
Supervised learning uses labelled data, and the chapter spends its time on the two questions that fix the task before any library is opened: whether every row carries a label, and whether the thing being predicted is a category or a quantity.
Binary and multiclass problems are separated with the course's own clinical examples, from immune therapy response through tumour appearance to cancer stage, and the continuous side covers inpatient mortality, emergency department demand and survival.
The chapter then works through the four linear models the individual assignment compares, and explains what each penalty on the coefficients actually buys, because a question about regularisation in this subject is usually a question about the error measure in disguise.
Unsupervised Learning: Clustering and Structure
Without labels there is nothing to be wrong against, and that single fact changes the burden of proof.
The chapter builds the two similarity measures the course names, straight-line distance and the angle between feature vectors, and shows that choosing between them is a clinical judgement rather than a coding detail because one keeps magnitude and the other discards it.
It treats the cluster identifier as an output with no explanation attached, so that naming a cluster the severe group becomes a claim requiring evidence from outside the clustering.
Dimension reduction is motivated by the width of biological data, and the chapter is blunt that reducing thousands of measurements to two coordinates makes a picture possible without making the picture a finding.
Measuring Error in a Regression Model
Three measures summarise the same column of mistakes and they can rank two models differently, which makes choosing between them a modelling decision rather than an administrative one.
Average absolute difference treats a miss of six as six times worse than a miss of one; average squared difference treats it as thirty-six times worse; the root of the second puts the figure back into the units of the outcome, which is the only reason it exists.
The chapter carries a worked case in which two models have identical absolute error and very different squared error, and it explains the random-input comparison the assignment asks for, which is the cheapest way to find out whether a model has learned anything at all.
Reading a Confusion Matrix Without Being Fooled
Every metric for a binary decision is one of four counts divided by another, so the chapter teaches the denominators as positions in a table rather than as definitions to memorise.
Ratios that divide by a row total are properties of the test and do not move when the condition becomes rarer; ratios that divide by a column total describe what a result means to the person holding it and move a great deal.
That distinction is worked all the way to the end on a screening cohort, where a test that detects almost everyone and clears almost everyone still produces a positive result that is wrong far more often than it is right, purely because the condition is uncommon.
The chapter finishes on the threshold sweep and the rule for comparing two curves that cross.
Overfitting, Validation and Generalisation
Underfitting, good fit and overfitting are statements about the gap between two measurements, so a model examined on one dataset cannot be placed in any of the three.
The chapter shows the same triple in regression, in classification and in clustering, where the number of clusters turns out to be the same kind of knob as the degree of a polynomial. It then covers the three portions of data and the different job each one does, early stopping at the turn in the validation curve, and the failure that makes everything else look fine, which is information crossing the boundary before the split.
The closing section separates validating inside your own dataset from validating on a cohort from somewhere else, and is clear that only the second answers the transfer question.
Building a Notebook You Can Defend
Thirty of the hundred marks are given for standing in front of somebody and explaining work you are not allowed to edit while you do it, which is more than the mid-term carries.
This chapter treats the notebook as the artefact that has to survive that conversation: a named environment created once and used for everything, the package set the course names, and the structure the assignment specifies of a markdown section, code cells and results for each task.
It lays out the four published ways marks are lost, none of which is about the quality of the analysis, and it closes on the group project, its published topics and named open datasets, the reproducible archive, the report limits and the peer contribution statement.
How to use this guide
Read the front matter first, then work one chapter at a time.
Every chapter ends in practice items with full answers; write your own answer before reading them, because recognising a good answer and producing one under a clock are different abilities and only the second is assessed here.
The practice chapter plans a complete project on an original problem, decision by decision, and the closing chapter is a revision pass for the week that carries the remaining marks.
Pass rules, attendance and what is not published
Three things are worth settling before you plan anything.
The word hurdle does not appear anywhere in the course materials, so no component is published as one; that is a statement about what the materials say rather than a guarantee, and the course site is where to confirm whether any component has to be passed separately.
A numeric attendance threshold is not published anywhere in the course materials either, yet attendance is still a condition: the assessment briefs state that a student who does not attend a scheduled demonstration in person with a student card receives nothing for that component, and that all students must attend the group demonstrations. Check the course site for whether attendance bears on whether you pass overall.
Two further rules carry a zero rather than a deduction, and neither is a sliding scale: work submitted after the published time scores nothing for that component, and a group report whose similarity or generated-content ratios sit above the published thresholds scores nothing for the report and is referred onward.
Evidence and assessment control
Assessment labels and weights follow the assessment structure published for this offering in the Week 1 lecture, which totals one hundred per cent and matches every live submission point on the course site.
The syllabus page on the course site shows a different and incompatible set of components, described in the assessment note below; confirm the current position on the course site before planning around either version. Teaching explanations, worked examples and practice items in this guide are independently authored and are not University assessment material; any marks shown on them are an AskSia study allocation.
The published teaching sequence also includes sessions on multi-omics applications, hands-on work, large language models in medicine and public health, and no teaching material for those sessions was available when this guide was written, so they are not reconstructed here.
Worked example · free
Say what a positive screening result is worth to the person holding it
- 2Turn the prevalence into counts of carriers and non-carriers.
- 3Fill the four cells from the detection and clearance rates.
- 4Compute what a positive and a negative result are each worth, and say which figure is useless here.
Key terms
- Supervised Learning
- Learning from a dataset in which every example carries the correct answer, so the model can be corrected against a recorded outcome during training and scored against one afterwards.
- Confusion Matrix
- A two by two table of a binary classifier's results, separating correct and incorrect predictions of each class so the trade between false alarms and misses is visible rather than averaged away.
- Sensitivity
- The share of patients who genuinely have the condition that the model flags, also called recall or the true positive rate. Its denominator is a property of the patients, so it does not move when the condition becomes rarer.
- Specificity
- The share of patients without the condition that the model correctly clears, also called the true negative rate. Like sensitivity it is computed inside a group defined by the patient rather than by the model.
- Precision
- The share of flagged cases that were genuine, also called the positive predictive value. Its denominator is everyone the model called positive, so it falls sharply when the condition is uncommon.
- Negative Predictive Value
- The share of cleared cases that were genuinely clear. It carries most of the useful information in screening, where nearly every result is negative and the guarantee that matters is that a negative really is negative.
- Prevalence
- The proportion of the tested group that actually has the condition. It leaves sensitivity and specificity untouched and rewrites both predictive values, which is why a model validated in a specialist clinic disappoints in general practice.
- Root Mean Squared Error
- The square root of the average squared difference between prediction and observation, which restores the units of the outcome and so is the only one of the three regression measures a reader can interpret directly.
- Regularisation
- Adding a penalty on the size of a model's coefficients to the quantity being minimised. Penalising absolute values drives some coefficients to zero; penalising squares shrinks them all without eliminating any.
- Overfitting
- Capturing the noise in a training set rather than the pattern beneath it, recognised by strong training performance alongside weak performance on data the model has not seen.
- Data Leakage
- Information from the held-back data reaching the model before it is scored, usually through a preparation step such as standardising or selecting variables on the whole dataset before splitting it.
- External Validation
- Testing a model on an independent dataset collected at another hospital, from another population, or in another period. It is the only evidence that a model transfers, and no procedure run inside one dataset can substitute for it.
- Silhouette Score
- A clustering measure combining how close a point sits to its own group with how far it sits from the nearest other group, running from minus one to one, where values near zero mean the groups overlap.
BMS5010 FAQ
How much does each piece of work count?
The structure published for this offering splits the mark across seven components. The group project carries fifty in total, made of twenty for the demonstration, fifteen for the code, ten for the report and five for the peer assessment. The individual assignment carries twenty-five, split fifteen for the code and ten for the demonstration. A mid-term examination carries the remaining twenty-five.
The course site also displays an older table listing an oral presentation, a group debate and research essays, which matches nothing else in the course materials, so confirm the current position on the course site before planning your time.
What is published about the mid-term examination?
Very little, and that is worth knowing in advance. The assessment structure gives it a quarter of the mark and the course schedule places it in the week seven lecture slot. No duration, format, permitted materials or question style appears anywhere in the course materials available here, so preparing for a particular paper shape is guesswork.
What the subject can always ask is a distinction stated precisely and a performance figure whose denominator you can name, so prepare those and check the course site for format details closer to the date.
What happens during the individual assignment demonstration?
You attend in person with your student card, the assessors open the copy of your notebook that was downloaded from the course site in advance, and no changes to it are permitted. You introduce each task, explain your approach and show your results, in English, within five minutes, then answer questions for up to two. Two questions are chosen on the spot and each correct answer earns a mark.
An error while the notebook executes costs two marks and each task that is missing costs one, so restarting and running the whole notebook from a clean state before you submit is the single highest-value thing you can do.
Which error measure should I report for a regression model?
The one that matches the cost of being wrong, and you decide that before you see any results. Average absolute error treats every unit of mistake the same, so it suits a setting where a small miss on many patients matters as much as a large miss on one. Average squared error grows faster than the mistake does and suits a setting where a large miss is disproportionately harmful, which is common in clinical work.
Report the root of the squared version so the figure carries the units of the outcome, and quote the absolute version alongside it when the two disagree about which model is better.
Why is high accuracy a weak result on a rare condition?
Because accuracy divides by every prediction made, so a model that always answers with the common class scores close to perfect while identifying none of the cases anyone cares about. On a cohort where two in a hundred carry a condition, doing nothing scores ninety-eight per cent. The check takes a moment: work out what the majority-class answer would have scored on your test set and see whether your model clearly beats it.
If it does not, report that rather than the accuracy figure, and switch to the ratios that divide by a row or a column of the table instead.
What exactly counts as data leakage, and how do I avoid it?
Any information from the held-back data reaching the model before the model is scored on it. The common routes are not obviously part of training: standardising columns using statistics computed on the whole dataset, selecting variables by examining the whole dataset, or filling missing values from the whole dataset, each done before the split. The defence is an order of operations.
Split first, run every step that learns anything inside the training portion only, carry the learned constants outward to the other portions, and touch the final portion once to produce one number.
How do I choose a group project topic?
The brief publishes a list of biomedical problems, each paired with a named open dataset, covering early sepsis prediction in intensive care, cancer subtype classification from expression data, mental health risk from survey and social data, automated retinal disease detection, progression modelling of a neurodegenerative condition from voice and sensor data, and arrhythmia detection from cardiac traces.
You may also propose your own biomedical topic. The practical argument for the published list is that the data access problem is already solved, which on a semester timetable is most of the risk. Groups are five students and the models are implemented in one of the two named deep learning frameworks.
What are the rules about using generated content in the report?
The group report is checked by the plagiarism service on the course site for both a similarity ratio and a generated-content ratio, and both have to come in below the published thresholds. A report that misses them scores zero out of ten for that component and the case is referred onward. Only the ratios produced by that service on the course site are considered, so figures from third-party checkers carry no weight.
A bonus mark is offered for a similarity ratio below the tighter threshold. The course also states that plagiarism is treated seriously, that both the giver and the copier are held responsible, and that assessors ask questions during the demonstration precisely to confirm you understand the code you submitted.
Is there a hurdle, and does attendance affect whether I pass?
The word hurdle does not appear anywhere in the course materials available here, and no pass mark or grading scale is published, so treat every component as contributing its published weight and check the course site for whether any of them must be passed separately. Attendance is a different matter.
A numeric attendance threshold is not published in the course materials, but attendance in person with a student card at a scheduled demonstration is an explicit condition of scoring at all for that component, and all students are required to attend the group demonstrations.
Since the demonstrations carry thirty marks between them, treat attendance as a requirement to satisfy rather than something to trade off, and check the course site for whether it bears on whether you pass overall.
Questions students ask in each BMS5010 chapter
- Is deep learning always better than the older approach?
- No, and the course frames the difference as a trade rather than an upgrade. Learning the features instead of receiving them needs far more examples, far more computation, and produces a representation nobody can inspect. That price is worth paying when the input is an image, a waveform or a sequence, because nobody can write down what a good feature would be. It is usually not worth paying on a clinical table of a few thousand rows with twenty measurements that clinicians already defined, which is exactly the shape of the individual assignment. Chapter 01 · How Machines Learn from Health Science Data
- How do I decide whether an ordered outcome is a category or a quantity?
- Ask whether the true underlying values are recoverable. Categories such as no event, one event and more than one are ordered, so treating them as a quantity keeps the information that two is further from zero than one is. But the top category has no upper bound, so any number a regression produces above one is an invention. Predict the count only when the true counts exist in the data; otherwise keep the ordered categories and say in the methods that the ordering is not being used, which is honest and costs you nothing. Chapter 02 · Supervised Learning: Classification and Regression
- If clustering cannot be wrong, how is it ever evidence?
- By being stable and by predicting something it was not given. Stability means the same grouping survives resampling, a different random start and a modest change to the feature set; a grouping that moves under any of those is a property of the run rather than of the patients. Prediction means the groups differ in a variable that was deliberately held out of the clustering, such as an outcome or a treatment response. Neither check makes clustering a supervised method, and together they are the difference between a hypothesis and a finding. Chapter 03 · Unsupervised Learning: Clustering and Structure
- Should I fit on one measure and report another?
- Often yes, and it is worth saying so explicitly. Fit on the measure that matches the cost of being wrong, because that is what the optimisation will chase. Report the figure a reader can interpret, which usually means the root of squared error in the units of the outcome. Reporting the absolute error alongside costs one line and answers a different question, namely how the model does on a typical patient rather than on its worst ones. What is not defensible is fitting on one measure and reporting only another without saying which was which. Chapter 04 · Measuring Error in a Regression Model
- Which single number should I put in the abstract of a report?
- None, if you can avoid it, and if you cannot then the pair that matches the decision. An abstract quoting one figure invites the reader to assume it is the relevant one, and for a rare condition that assumption is usually wrong. The defensible short form names the operating point and gives two numbers: at a threshold flagging one patient in six, the model reached this precision and this recall. That is barely longer than a single figure and it cannot be misread, which is the whole purpose of an abstract sentence. Chapter 05 · Reading a Confusion Matrix Without Being Fooled
- Why report the spread across folds and not just the average?
- Because the spread is what tells a reader whether the average means anything. Ten folds that agree closely say the estimate is stable and would survive a different random split; ten folds ranging widely say the dataset is too small or too varied for the headline figure to be relied on, and that is a finding worth publishing rather than hiding. The spread also protects you in the demonstration, because it is the honest answer to a question about how confident you are, and it is far stronger than an opinion. Chapter 06 · Overfitting, Validation and Generalisation
- What should I actually say in the first thirty seconds of a demonstration?
- Name the task, the data and the decision, then say what your result is. Something like: this task predicts a continuous outcome from six routine measurements, I compared four linear estimators on one split, and the penalised fit generalised best by this margin. That sentence orients the assessor immediately and buys you the remaining four minutes to show rather than explain. Starting instead by scrolling through imports spends the most valuable part of a five-minute slot on the least valuable part of the notebook. Chapter 07 · Building a Notebook You Can Defend
How to prepare for the assessments
Carry one small clinical table through all seven chapters and answer each chapter's question about it before reading the chapter's answer: is the outcome a category or a quantity, would grouping tell you anything the label does not, which error measure would a clinician actually care about, and how would you know the model had memorised rather than learned. Then practise the move the assessment is built on.
Open your notebook, pick any cell, and say in one sentence why it is there and what its output means. Doing that aloud for twenty minutes is worth more than another pass over the slides, because it is the only exercise that rehearses what the demonstration marks are given for.
Your AI Artificial Intelligence tutor for BMS5010
Stuck on a hard BMS5010 question? Sia is AskSia’s AI Artificial Intelligence tutor — ask any BMS5010 Artificial Intelligence for Health Science Research and Management question and get a clear, step-by-step explanation grounded in how the course is actually taught and assessed. Read this whole study guide free, then take your hardest questions to Sia.