Machine Learning Foundations - Starting Diagnostic
Status: Draft Use: ungraded readiness check before Module 1
Purpose
This diagnostic checks whether a learner is ready to start Machine Learning Foundations. It is not a gatekeeping test. If a learner misses several items, they should review Python Foundations first.
Section A: Notebook readiness
- In a notebook, what is the difference between editing a cell and running a cell?
- What can go wrong if cells are run out of order?
- How do you restart a notebook kernel and run all cells again?
- Why should a notebook avoid hidden state before submission?
Ready if: the learner can explain execution order, kernel state, restart, and clean rerun in simple language.
Section B: Python readiness
- Read this code and write the output.
hours = [2, 4, 6]
total = sum(hours)
print(total / len(hours))
- What is the difference between
"4"and4? - What does a function return?
- What does a traceback help you find?
Ready if: the learner can read simple variables, lists, arithmetic, functions, and errors.
Section C: pandas readiness
- What does one row usually represent in a table?
- What does one column usually represent?
- What is a missing value?
- Why is it risky to assume every column is safe for modelling?
- What does this code do?
df.groupby("course")["minutes"].mean()
Ready if: the learner can explain rows, columns, missing values, grouping, and basic column selection.
Section D: data judgement readiness
Answer in one or two sentences.
- Why is a prediction not the same as a cause?
- Why should a model be compared with a simple baseline?
- Why does prediction time matter?
- What should you do if a dataset contains real private information?
Ready if: the learner can separate prediction from causation, understands baseline comparison, and knows not to use sensitive data.
Recommendation
- If most answers are clear: start Module 1.
- If notebook or Python answers are weak: review Python Foundations Modules 1-7.
- If pandas answers are weak: review Python Foundations Module 9.
- If data judgement answers are weak: continue slowly and spend extra time on Modules 1 and 2.
