ML Intro
The Imitation Game¶
The imitation game or the Turing test refers to a test for assesing machine intelligence, proposed by the British mathematician and computer scientist Alan Turing in 1950.
The test is designed to asses a machine’s ability to exhibit intelligent behaviour equivalent to, or indistinguishable from that of a human.

Figure 1:“Try this game with ChatGPT/DeepSeek”
Machine Learning: Quite crudely, machine learning can be thought of as a collection of tools and techniques that transforms data into decisions (hopefully good!!) by making some form of classification, like whether or not someone likes pineapple pizza, or some form of quantitavive predictions, like how long can someone run.
Machine Learning Classification¶
One excellent example of classification is the classification tree itself. We will learn more about them soon.
Machine Learning Regression¶
Suppose we have a pile of Shoe-size vs Height data, and we want to make some predictions.

Figure 2:“Example: Linear Regression”
Different Types of ML¶
Supervised ML
Linear Regression
Logistic Regression
k-nearest neighbors (k-NN)
Support Vector Machine
Decision tree
Neural Networks
Unsupervised ML
Density estimation
Clustering maps
Dimensionality reduction
Outlier detection
Re-inforcement Learning
Deep-Q learning
Self-driving car
❓ Exercise¶
Q7: How to stop the Green Squiggle from being the final answer??

Figure 3:“Wrong Regression”
Click to show answer
Answer: Add some testing point. If the green squiggle is the final answer then the prediction do will do worse for testing points.

Figure 4:“Correcting Regression”