0% found this document useful (0 votes)
7 views

Module 03 - Learners Guide

The document provides an introduction to machine learning, explaining its definition, common applications, and high-level processes. It outlines the three main types of machine learning: supervised, unsupervised, and reinforcement learning, along with examples and techniques used in each category. Additionally, it includes a brief overview of linear regression as a supervised learning method.

Uploaded by

blackythekarpie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Module 03 - Learners Guide

The document provides an introduction to machine learning, explaining its definition, common applications, and high-level processes. It outlines the three main types of machine learning: supervised, unsupervised, and reinforcement learning, along with examples and techniques used in each category. Additionally, it includes a brief overview of linear regression as a supervised learning method.

Uploaded by

blackythekarpie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Introduction to

Machine Learning

1
What is Machine Learning?

Commonly used where historical data predicts likely future events

Using algorithms that iteratively learn from data, machine learning


allows computers to find hidden insights without being explicitly
programmed where to look.

2
What is it used for?

• Prediction of equipment failures. • Recommendation Engines


• Fraud detection. • Customer Segmentation
• Weather Prediction • Text Sentiment Analysis
• Spam Detection. • Predicting Customer Churn
• Real-time ads on web pages • Pattern and image recognition.
• Image Recognition • Email spam filtering.
• New pricing models. • Financial Modeling
• Stock Market Prediction • Video Surveillance

3
High level process of Machine Learning

Test
Data

Model
Data Data Model Model
Training &
collection Cleaning Testing Deployment
Building

4
Types of Machine Learning

• Supervised Learning :

• Unsupervised Learning

• Reinforcement Learning

5
Supervised Learning

• Supervised Learning :
Supervised learning algorithms are trained using labeled examples, such as an
input where the desired output is known.

Common tasks in supervised learning include classification and regression.

Classification: The goal is to predict the category or class of a new observation


based on past observations with known categories. For example, classifying
emails as spam or non-spam.

Regression: The goal is to predict a continuous numerical value based on input


features. For example, predicting house prices based on features like size,
location, and number of bedrooms.

6
Unsupervised Learning

• In unsupervised learning, the algorithm learns from unlabeled data, meaning there
are no predefined labels for the input data.
• The goal is to explore the data and find some structure within the dataset

Popular techniques include self-organizing maps, nearest-neighbor mapping, k-means


clustering and singular value decomposition
• These algorithms are also used to segment text topics, recommend items and
identify data outliers.

7
Reinforcement Learning

• Reinforcement learning is often used for robotics, gaming and navigation.


• With reinforcement learning, the algorithm discovers through trial and error which
actions yield the greatest rewards
• This type of learning has three primary components: the agent (the learner or
decision maker), the environment (everything the agent interacts with) and actions
(what the agent can do).
• The objective is for the agent to choose actions that maximize the expected
reward over a given amount of time.
• The agent will reach the goal much faster by following a good policy

8
Regression

Simple Linear Regression Multiple Linear Regression

Simple Linear regression : is a type of supervised learning Multiple Linear regression : is a type of supervised
algorithm used for modeling the relationship between a learning algorithm used for modeling the relationship
dependent variable and independent variable. between a dependent variable and one or more
independent variable.

Here's a example of simple linear regression with independent variable:

9
Simple Liner Regression

Let's say we have a dataset that represents the relationship between the number of hours students spend studying
(independent variable) and their exam scores (dependent variable). We want to build a linear regression model to
predict exam scores based on the number of hours studied.

To perform linear regression, we'll use the equation of a straight line:

Y=mx+b

Y is the dependent variable (exam score)

X is the independent variable (hours studied)

m is the slope of the line (the coefficient of the independent variable)

b is the y-intercept (the point where the line crosses the y-axis)

10
Simple Liner Regression

Our goal is to find the values of m and b that best fit the data

Once we have these values, we can use the equation to predict exam scores for new values of X.

In this case, we can use a library like scikit-learn in Python to perform linear regression. Here's a simple Python code
snippet to do this:

90

85

80

70

60

2 4 6 7 8
11
Hands-on
session

12
THANK YOU
FIND OUT MORE
www.tataelxsi.com

Confidentiality Notice
This document and all information contained herein is the sole property of Tata Elxsi Ltd.
No intellectual property rights are granted by the delivery of this document or the disclosure of its content.
This document shall not be reproduced or disclosed to a third party without the express written consent of Tata Elxsi Ltd.
This document and its content shall not be used for any purpose other than that for which it is supplied.

13

You might also like