Demystifying Machine Learning
Intro
In today’s tech-driven world, machine learning (ML) has become a buzzword that seems to pop up everywhere, from online shopping recommendations to voice-activated assistants, and of course for doing your homework or TOK assignments (just kidding). But what exactly is machine learning, and how does it work? In this beginner’s guide, I’ll break down the basics of machine learning and hopefully make you understand it in a very simple way!
What is Machine Learning?
Let me geek out a little bit first, machine learning is a subset of artificial intelligence (AI) that empowers systems to learn from data, identify patterns, and make decisions with minimal human intervention. Unlike traditional programming—where developers painstakingly write out explicit instructions for every task (and get a small syntax error that makes them question everything)—machine learning flips the script. Here, algorithms learn from experience! This is where the magic happens, often referred to as unsupervised learning (cool, right? Don’t lose me yet!).
This incredible ability to learn from data makes machine learning especially powerful when tackling complex problems. Imagine teaching a computer to recognize faces in photos or predicting what movie you’d like to watch next, all without telling it how to do it step by step. That’s the beauty of machine learning!
So Machine Learning isn't really that of new of technology, It was actually created in 1950 by the one and only GOAT of computer science Alan Turning, he published it in his article “Computer Machinery and Intelligence” which eventually became The Turing Test, which experts used to measure computer intelligence. Wait but why didnt we hear until a couple of years back since the surge of Large Language Models like chatGPT (General Pre-trained transformer)?
Well, unfortunately it was all because of one book“Perception and Action in the Visual System” by Marvin Minsky and Seymour Papert, published in 1969. This book discussed the limitations of neural networks and helped spark skepticism about the potential of AI, leading to a decrease in funding and interest in AI research during the 1970s. This period became known as the "AI winter," where enthusiasm for AI projects significantly waned due to unmet expectations and the challenges highlighted in Minsky and Papert’s work.
However, thanks to the resurgence of interest in recent years, especially after the publication of “Deep Learning” by Ian Goodfellow, Yoshua Bengio, and Aaron Courville in 2016, neural networks are back in the spotlight. This book laid the groundwork for many advancements we see today, particularly in deep learning, which has propelled machine learning into the limelight.
Types of ML
Common Algorithms
- What it is: Imagine trying to predict how tall someone will be based on their age. Linear regression draws a straight line through data points to find the best fit, allowing us to make predictions about future valuess
- How it works: It uses a formula to relate the input (like age) to the output (height) so that we can estimate the output for new input data
- -What it is: Despite its name, this algorithm is used for binary classification problems, like deciding if an email is spam or not (yes or no)
- -How it works: It takes input data and applies a function to predict probabilities, giving us a score between 0 and 1. If the score is above a certain threshold, we classify it as "yes" (spam), and below that threshold, it's "no" (not spam)
- What it is: Think of a flowchart for making decisions. Decision trees break down complex decision-making into simpler, yes-or-no questions
- How it works: Starting from a root question, it branches out based on the answers, leading to a final decision. For instance, it could help determine whether to play outside based on the weather and temperature.
- What it is: Inspired by the human brain, neural networks consist of layers of interconnected nodes (like neurons).
- How it works: Each node processes input data and passes it on to the next layer. It’s particularly good at recognizing patterns, such as identifying faces in photos or understanding spoken words. The more layers, the deeper the learning!
- How it works: You decide how many groups (or clusters) you want. The algorithm then finds the best way to divide the data into those clusters based on similarity, making it great for things like customer segmentation.
- What it is: Imagine organizing a group of friends based on common interests. K-means clustering groups similar data points together.
- What it is: Think of drawing a line to separate two different types of apples in a basket: green and red. SVM finds the best line (or hyperplane) that separates different classes of data.
- How it works: It maximizes the distance between the line and the closest data points from each class, helping it to classify new data accurate
Comments
Post a Comment