top of page

Machine Learning Overview

Let's simplify the concept of machine learning with a relatable analogy:


Imagine you have a book with 100 questions and answers. Your goal is to study and get as many answers correct as possible.


1. Learning Phase: You decide to split the book into two parts - one with 70 questions for learning and the other with 30 questions for testing yourself.

- During this phase, you write down answers to the 30 test questions and check them against the actual answers.

- You get 25 out of 30 questions correct, which is 83% accuracy.


2. Exam Phase: Now, you move on to the exam phase. You encounter 30 new questions, some similar to what you studied and some entirely new.

- You answer these questions by yourself and get 15 out of 30 questions correct, which is 50% accuracy.


In the world of machine learning, we do something similar. Instead of questions and answers, we have data, and our goal is to make predictions based on that data.


1. Dataset: Think of it as a collection of rows and columns. Each row represents a data point, like a student in our book example. Each column represents a feature or characteristic of that data point, like study hours, test scores, or sleep patterns.


2. Supervised Learning: This is when we have data with features (questions) and their corresponding answers (target values), just like our book.

- During the learning phase, we use a learning algorithm to teach a model to recognize patterns in the data.

- The model's goal is to predict the target value based on the features of a new data point.


3. Training and Testing: We split our dataset into two parts - a training set for teaching the model and a test set for evaluating its performance.

- After training the model, we test it on the unseen data in the test set.

- We measure the model's accuracy on both the training and test sets to ensure it can make accurate predictions.


4. Ultimate Goal: Just like our goal was to answer questions correctly in the book, in machine learning, we want our model to predict target values accurately for new, unseen data points.


So, while it might seem complex, machine learning is about training a model to make predictions based on data, just like you trained yourself to answer questions in your book.

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

All rights reserved © 2023 by HiDevs.

bottom of page