Machine learning engines
Lesson details
Learning outcome
I can explore a range of machine learning engines which are used to build AI models.
Key learning points
- The engines of machine learning are the data structures and algorithms that are used to create a model.
- The engine you choose will depend on the nature of the problem you want to solve and the characteristics of your data.
- A decision tree is a supervised machine learning algorithm.
- Machine learning developers use decision trees to structure a set of conditions, which can be used to make predictions.
- A neural network is a type of machine learning model inspired by the human brain.
Keywords
Decision tree - a type of ML engine that makes predictions by splitting data into branches using conditions
Neural network - a type of ML engine consisting of interconnected nodes, organised in layers, that is trained to find patterns in data
Image generator - an AI tool that produces pictures from a prompt using patterns it has identified in large collections of existing images
Common misconception
Neural networks offer transparency in terms of the decisions made by the algorithm.
It’s often hard to understand why a neural network made a particular decision which makes transparency difficult.
Teacher tip
Encourage students to look closely at AI-generated images for signs of bias or misrepresentation, such as missing diversity or inaccurate depictions of certain groups. Discuss how these issues can arise from the training data.
Licence
Lesson video
Loading...
Prior knowledge starter quiz
6 Questions
Q1.What does it mean when data is assigned to a “class” in machine learning?
Q2.What is the term for the information attached to each piece of data that tells a machine learning model which group it belongs to?
Q3.Why are labels important when training a classification model?
Q4.Which of these is a real-world example of classification in AI?
Q5.Match each keyword to its correct definition.
a group used to organise data
information about which group data belongs to
the process of sorting data into groups
another word for group
Q6.Arrange these actions for using classification in an AI system.
Assessment exit quiz
6 Questions
Q1.What is the main function of a machine learning engine?
Q2.Put these steps in order for using a decision tree.
Q3.Which statement about neural networks and transparency is correct?
Q4.What is a neural network inspired by?
Q5.Which statement about neural networks is true?
Q6.What is the term for when a machine learning model performs very well on its training data but fails to generalise to new, unseen data?
To help you plan your 10 computer science lesson on: Machine learning engines, download all teaching resources for free and adapt to suit your pupils' needs...
To help you plan your 10 computer science lesson on: Machine learning engines, download all teaching resources for free and adapt to suit your pupils' needs.
The starter quiz will activate and check your pupils' prior knowledge, with versions available both with and without answers in PDF format.
We use learning cycles to break down learning into key concepts or ideas linked to the learning outcome. Each learning cycle features explanations with checks for understanding and practice tasks with feedback. All of this is found in our slide decks, ready for you to download and edit. The practice tasks are also available as printable worksheets and some lessons have additional materials with extra material you might need for teaching the lesson.
The assessment exit quiz will test your pupils' understanding of the key learning points.
Our video is a tool for planning, showing how other teachers might teach the lesson, offering helpful tips, modelled explanations and inspiration for your own delivery in the classroom. Plus, you can set it as homework or revision for pupils and keep their learning on track by sharing an online pupil version of this lesson.
Explore more key stage 4 computer science lessons from the Data science: AI and machine learning unit, dive into the full secondary computer science curriculum, or learn more about lesson planning.