SlideShare a Scribd company logo
Introduction to ml
About this Course / Program
FUN
Motivation R
E
S
E
A
R
C
H
Strong Community Engagement
Agenda
•Intro to Machine Learning
•Types of Machine Learning System
•Supervised Machine Learning
•Regression
•Hands-On
What is Machine Learning ?
First Questions first
What is Machine Learning ?
What is Machine Learning ?
Machine learning is a specific field of AI where a system learns to find
patterns in examples in order to make predictions.
It can be understood as Computers learning how to do a task without
'being explicitly programmed' to do so.
What is Machine Learning ?
Machine Learning Algorithms are those that can tell you something
interesting about the data (patterns !), without you having to write any
custom code specific to the problem.
Instead of writing code explicitly, we feed data to these ML algorithms and
they build their own logic based on the data and its patterns.
What is Machine Learning ?
Hence, ML is the “Art of Seeking Information and Meaning from Data”
What is Machine Learning ?
Introduction to ml
Introduction to ml
Introduction to ml
Introduction to ml
What are your favorite application
of Machine Learning?
Some more terms
Some more terms
Deep Learning
Types of Machine Learning System
Machine
Learning
Supervised
Machine
Learning
Unsupervised
Machine
Learning
Deep Learning
Reinforcement
Learning
Types of Machine Learning System
Unsupervised
Unsupervised learning is when we are dealing with data that has not been labeled or categorized.
Supervised
Supervised learning algorithm takes labeled data and creates a model that can
make predictions given new data.
Deep Learning
Deep learning utilizes neural networks which, just like the human brain, contain interconnected
neurons that can be activated or deactivated.
Reinforcement
Reinforcement learning uses a reward system and trial-and-error in order to maximize the long-
term reward.
Types of Machine Learning System
[NOC]
SupervisedML
Regression
Classification
Labels
Classification vs. Regression !
CLASSIFICATION: In a classification problem, there might be test data consisting of
photos of animals, each one labeled with its corresponding name. The model would
be trained on this test data and then the model would be used to classify unlabeled
animal photos with the correct name.
REGRESSION: In a regression problem, there is a relationship trying to be
determined among many different variables. Usually, this takes place in the form of
historical data being used to predict future quantities. An example of this would be
predicting the future price of a stock based on past prices movements.
What are Features ?
Features are the variables which distinguish one example from another. They tell
the machine learning model what parts of the data to look for patterns for
achieving the goal.
Lots of data is crucial to a machine learning system but it needs to be helpful
and relevant data. Though you never know until you experiment to see what
variables truly make an impact.
An Example
Consider the problem, "Predicting the Price of a House"
What features should we use ?
Features :
Location
Number of bedrooms
No of floors
Size of property
Number of light switches?
Colour of house?
Parking Availability?
Weights & Bias:
Weights and biases (commonly referred to as w and b or Ѳ {theta} notation) are
the learnable parameters of a machine learning model.
Weights control the signal (or the strength of the connection) between two
neurons. In other words, a weight decides how much influence the input will
have on the output.
Biases, which are constant, are an additional input into the next layer that will
always have the value of 1.
Regression
(by fitting a curve / an equation to observed data).
For example, a modeler might want to relate the weights of individuals
to their heights using a linear regression model.
Regression
How to identify a Regression model ?
Ready to dive deeper?
Ready to dive deeper?
Linear Regression model
w1 and w2 can also be called Ѳ1{theta1} and Ѳ2
and b as Ѳ0
b
Linear Regression
The Loss Function
(indicated in the graph by the dotted red line) (yellow
dots)
Gradient Descent
Gradient Descent
This is called Gradient Descent.
Gradient Descent
Don't use Linear Regression Blindly ;)
Multiple Regression
Multiple Regression
So that was Regression !!
Python??
Code: Linear regression
#import data set
#Splitting the data
Code: Linear regression
#Fitting Simple Linear Regression
#This is called Model
##Predicting the test results
Code: Linear regression
#Visualising the training set Results
Code: Linear regression
#Giving External Data for Price Prediction
#if we want to take manual input from the user and then calculate the price
Introduction to ml

More Related Content

PPTX
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
PPT
Machine Learning presentation.
PPTX
Supervised learning and Unsupervised learning
PPTX
Machine Learning
PDF
Explore ML day 1
PDF
Explore ml day 2
DOC
DagdelenSiriwardaneY..
PDF
Chapter 05 k nn
Machine Learning Unit 1 Semester 3 MSc IT Part 2 Mumbai University
Machine Learning presentation.
Supervised learning and Unsupervised learning
Machine Learning
Explore ML day 1
Explore ml day 2
DagdelenSiriwardaneY..
Chapter 05 k nn

What's hot (19)

PPTX
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
PPTX
supervised learning
PPTX
Presentation on supervised learning
PPTX
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
PPTX
What is Machine Learning
PPT
Machine Learning
PPTX
Introduction to Machine Learning
PPT
MachineLearning.ppt
DOCX
Mit102 data & file structures
PPTX
Machine learning
PPTX
Tweets Classification using Naive Bayes and SVM
PDF
Lecture 2 Basic Concepts in Machine Learning for Language Technology
PDF
Machine Learning Interview Questions
PDF
Feature Importance Analysis with XGBoost in Tax audit
PPTX
Understanding Basics of Machine Learning
PPT
Machine Learning: Foundations Course Number 0368403401
PPTX
sentiment analysis using support vector machine
PPTX
Supervised learning
PPTX
Linear Regression, Machine learning term
Machine Learning Unit 2 Semester 3 MSc IT Part 2 Mumbai University
supervised learning
Presentation on supervised learning
Machine Learning Unit 3 Semester 3 MSc IT Part 2 Mumbai University
What is Machine Learning
Machine Learning
Introduction to Machine Learning
MachineLearning.ppt
Mit102 data & file structures
Machine learning
Tweets Classification using Naive Bayes and SVM
Lecture 2 Basic Concepts in Machine Learning for Language Technology
Machine Learning Interview Questions
Feature Importance Analysis with XGBoost in Tax audit
Understanding Basics of Machine Learning
Machine Learning: Foundations Course Number 0368403401
sentiment analysis using support vector machine
Supervised learning
Linear Regression, Machine learning term
Ad

Similar to Introduction to ml (20)

PPTX
chapter Three artificial intelligence 1.pptx
PDF
machinecanthink-160226155704.pdf
PPTX
Machine Can Think
PPTX
Machine Learning.pptx
PDF
AWS Certified Machine Learning Specialty
PDF
ML_Lec1 introduction to machine learning.pdf
PDF
ML_lec1.pdf
PPTX
Introduction to Machine Learning basics.pptx
PDF
Integrating Artificial Intelligence with IoT
PDF
Machine Learning Interview Questions and Answers
PPT
notes as .ppt
PPTX
ML Lec 1 (1).pptx
PDF
How to understand and implement regression analysis
PPTX
Artificial intyelligence and machine learning introduction.pptx
PPTX
MACHINE LEARNING AND ITS APPLICATIONS (2).pptx
PDF
An Introduction to Machine Learning
PDF
ML_Lec4 introduction to linear regression.pdf
PPTX
DS103 - Unit04 - Part1DS103 - Unit04 - Part1.pptx
PPTX
Machine Learning_PPT.pptx
chapter Three artificial intelligence 1.pptx
machinecanthink-160226155704.pdf
Machine Can Think
Machine Learning.pptx
AWS Certified Machine Learning Specialty
ML_Lec1 introduction to machine learning.pdf
ML_lec1.pdf
Introduction to Machine Learning basics.pptx
Integrating Artificial Intelligence with IoT
Machine Learning Interview Questions and Answers
notes as .ppt
ML Lec 1 (1).pptx
How to understand and implement regression analysis
Artificial intyelligence and machine learning introduction.pptx
MACHINE LEARNING AND ITS APPLICATIONS (2).pptx
An Introduction to Machine Learning
ML_Lec4 introduction to linear regression.pdf
DS103 - Unit04 - Part1DS103 - Unit04 - Part1.pptx
Machine Learning_PPT.pptx
Ad

More from SuyashSingh70 (6)

PPTX
Introduction to ml and dl
PPTX
How to clear a job interview
PPTX
Personality development
PPT
Sucess in interview
PPTX
Classificationand different algorithm
PPTX
Regression ppt
Introduction to ml and dl
How to clear a job interview
Personality development
Sucess in interview
Classificationand different algorithm
Regression ppt

Recently uploaded (20)

PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
PDF
Launch Your Data Science Career in Kochi – 2025
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PPTX
Moving the Public Sector (Government) to a Digital Adoption
PDF
Lecture1 pattern recognition............
PPT
Quality review (1)_presentation of this 21
PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PPTX
Introduction to Knowledge Engineering Part 1
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Galatica Smart Energy Infrastructure Startup Pitch Deck
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
Major-Components-ofNKJNNKNKNKNKronment.pptx
Launch Your Data Science Career in Kochi – 2025
Miokarditis (Inflamasi pada Otot Jantung)
Data_Analytics_and_PowerBI_Presentation.pptx
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
Moving the Public Sector (Government) to a Digital Adoption
Lecture1 pattern recognition............
Quality review (1)_presentation of this 21
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
climate analysis of Dhaka ,Banglades.pptx
Business Acumen Training GuidePresentation.pptx
Introduction to Knowledge Engineering Part 1
Clinical guidelines as a resource for EBP(1).pdf
Database Infoormation System (DBIS).pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...

Introduction to ml

  • 2. About this Course / Program FUN Motivation R E S E A R C H Strong Community Engagement
  • 3. Agenda •Intro to Machine Learning •Types of Machine Learning System •Supervised Machine Learning •Regression •Hands-On
  • 4. What is Machine Learning ? First Questions first
  • 5. What is Machine Learning ?
  • 6. What is Machine Learning ? Machine learning is a specific field of AI where a system learns to find patterns in examples in order to make predictions. It can be understood as Computers learning how to do a task without 'being explicitly programmed' to do so.
  • 7. What is Machine Learning ? Machine Learning Algorithms are those that can tell you something interesting about the data (patterns !), without you having to write any custom code specific to the problem. Instead of writing code explicitly, we feed data to these ML algorithms and they build their own logic based on the data and its patterns.
  • 8. What is Machine Learning ? Hence, ML is the “Art of Seeking Information and Meaning from Data”
  • 9. What is Machine Learning ?
  • 14. What are your favorite application of Machine Learning?
  • 18. Types of Machine Learning System Machine Learning Supervised Machine Learning Unsupervised Machine Learning Deep Learning Reinforcement Learning
  • 19. Types of Machine Learning System Unsupervised Unsupervised learning is when we are dealing with data that has not been labeled or categorized. Supervised Supervised learning algorithm takes labeled data and creates a model that can make predictions given new data. Deep Learning Deep learning utilizes neural networks which, just like the human brain, contain interconnected neurons that can be activated or deactivated. Reinforcement Reinforcement learning uses a reward system and trial-and-error in order to maximize the long- term reward.
  • 20. Types of Machine Learning System [NOC]
  • 22. Classification vs. Regression ! CLASSIFICATION: In a classification problem, there might be test data consisting of photos of animals, each one labeled with its corresponding name. The model would be trained on this test data and then the model would be used to classify unlabeled animal photos with the correct name. REGRESSION: In a regression problem, there is a relationship trying to be determined among many different variables. Usually, this takes place in the form of historical data being used to predict future quantities. An example of this would be predicting the future price of a stock based on past prices movements.
  • 23. What are Features ? Features are the variables which distinguish one example from another. They tell the machine learning model what parts of the data to look for patterns for achieving the goal. Lots of data is crucial to a machine learning system but it needs to be helpful and relevant data. Though you never know until you experiment to see what variables truly make an impact.
  • 24. An Example Consider the problem, "Predicting the Price of a House" What features should we use ?
  • 25. Features : Location Number of bedrooms No of floors Size of property Number of light switches? Colour of house? Parking Availability?
  • 26. Weights & Bias: Weights and biases (commonly referred to as w and b or Ѳ {theta} notation) are the learnable parameters of a machine learning model. Weights control the signal (or the strength of the connection) between two neurons. In other words, a weight decides how much influence the input will have on the output. Biases, which are constant, are an additional input into the next layer that will always have the value of 1.
  • 27. Regression (by fitting a curve / an equation to observed data). For example, a modeler might want to relate the weights of individuals to their heights using a linear regression model.
  • 29. How to identify a Regression model ?
  • 30. Ready to dive deeper?
  • 31. Ready to dive deeper?
  • 32. Linear Regression model w1 and w2 can also be called Ѳ1{theta1} and Ѳ2 and b as Ѳ0 b
  • 34. The Loss Function (indicated in the graph by the dotted red line) (yellow dots)
  • 36. Gradient Descent This is called Gradient Descent.
  • 38. Don't use Linear Regression Blindly ;)
  • 41. So that was Regression !!
  • 43. Code: Linear regression #import data set #Splitting the data
  • 44. Code: Linear regression #Fitting Simple Linear Regression #This is called Model ##Predicting the test results
  • 45. Code: Linear regression #Visualising the training set Results
  • 46. Code: Linear regression #Giving External Data for Price Prediction #if we want to take manual input from the user and then calculate the price