Machine learning for predictions
Training a model on past data so it learns patterns and can predict outcomes for new data, such as a category (classification) or a number (numeric prediction).
Understanding Machine learning for predictions in VCE Data Analytics U3O1
What it does: The output is a label from a set of categories, which is classification rather than numeric prediction. Machine learning trains a model on past data (training data) so it can find patterns. It does not rely on hand-written rules for every case. Pass or fail is a category, so predicting it is classification. Models give predictions, not guarantees. Predictions can be wrong, so their reliability should be checked.
Common mistakes: Training data needs one known outcome for every row. X has 2 rows, so y must have 2 labels, not 3. The model must be trained on past data with fit(X, y). predict() is only used afterwards on new data, so line 4 should be model.fit(X, y).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 130–148) and word search (Modules 94–148).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
machine learningFill in the Blanks
Spot the Error
Student with a class code? Join your class →