SlideShare una empresa de Scribd logo
1 de 43
Descargar para leer sin conexión
Machine Learning
Dr. G.Geetha
Professor & Head
DCSE/JCE
Data Mining
• Can cull existing information to highlight
patterns, and serves as foundation for AI and
machine learning.
Artificial Intelligence
Broad term for using data to offer solutions to
existing problems
Machine Learning
• Goes beyond AI, and offers data necessary for
a machine to learn & adapt
• Google’s self-driving cars and robots get a lot
of press, but the company’s real future is in
machine learning, the technology that enables
computers to get smarter and more personal.
• – Eric Schmidt (Google Chairman)
Machine Learning
“Machine Learning is the field of study that
gives computers the ability to learn without
being explicitly programmed.”
Arthur Samuel way back in 1959
Machine Learning
“A computer program is said to learn from
experience E with respect to some task T and
some performance measure P, if its
performance on T, as measured by P, improves
with experience E.
in 1997, Tom Mitchell
• Machine learning is a set of software techniques (at times referred
as algorithms) that automate the creation of models and the use of
these models in every day life. These models learn from data and
make predictions about data. This is why, at times, machine
learning is referred to as big data. Machine learning used to be
referred to as Artificial Intelligence (AI). There is not one machine
learning technique, rather there are numerous techniques each
better suited to specific applications. You might not realize it, but
you are experiencing machine learning every day in your digital life.
Netflix or Amazon suggests a movie or product recommendation?
Machine learning. VISA calls you because of a suspicious activity?
Machine learning. Google’s car drives by itself? You guessed it:
Machine learning! The smarts behind Kitchology’s app that profiles
consumers’ activities and matches food to activities? You already
know the answer.
Example
• Suppose your email program watches which
emails you do or do not mark as spam, and based
on that learns how to better filter spam. What is
the task T in this setting?
• Answer
• Classifying emails as spam or not spam.
• Explanation
• T := Classifying emails as spam or not spam.
E := Watching you label emails as spam or not
spam.
P := The number (or fraction) of emails correctly
classified as spam/not spam.
Examples of machine learning
problems
• “Is this cancer?”
• “What is the market value of this house?”
• “Which of these people are good friends with
each other?”
• “Will this rocket engine explode on take off?”,
“Will this person like this movie?”,
• “Who is this?”,
• “What did you say?”
• “How do you fly this thing?”
How exactly do we teach machines?
Machine Learning
• Supervised machine learning
• Unsupervised machine learning
• Supervised machine learning: The program is
“trained” on a pre-defined set of “training
examples”, which then facilitate its ability to
reach an accurate conclusion when given new
data.
• Unsupervised machine learning: The program
is given a bunch of data and must find
patterns and relationships therein.
Supervised Machine Learning
• supervised learning applications, the ultimate goal is to
develop a finely tuned predictor function h(x) (sometimes
called the “hypothesis”). “Learning” consists of using
sophisticated mathematical algorithms to optimize this
function so that, given input data x about a certain domain
(say, square footage of a house), it will accurately predict
some interesting value h(x) (say, market price for said
house).
• In practice, x almost always represents multiple data points.
So, for example, a housing price predictor might take not
only square-footage (x1) but also number of bedrooms (x2),
number of bathrooms (x3), number of floors (x4), year built
(x5), zip code (x6), and so forth. Determining which inputs
to use is an important part of ML design.
Classification Problems
• Under supervised ML, two major subcategories
are:
• Regression machine learning systems: Systems
where the value being predicted falls somewhere
on a continuous spectrum. These systems help us
with questions of “How much?” or “How many?”.
• Classification machine learning systems: Systems
where we seek a yes-or-no prediction, such as “Is
this tumer cancerous?”, “Does this cookie meet
our quality standards?”, and so on
Neural Networks
Unsupervised Machine Learning
• Unsupervised learning typically is tasked with
finding relationships within data. There are no
training examples used in this process.
Instead, the system is given a set data and
tasked with finding patterns and correlations
therein. A good example is identifying close-
knit groups of friends in social network data.
• clustering algorithms such as k-means,
• dimensionality reduction systems such as
principle component analysis
Supervised Learning
• How it works: This algorithm consist of a target /
outcome variable (or dependent variable) which
is to be predicted from a given set of predictors
(independent variables). Using these set of
variables, we generate a function that map
inputs to desired outputs. The training process
continues until the model achieves a desired level
of accuracy on the training data. Examples of
Supervised Learning: Regression, Decision Tree,
Random Forest, KNN, Logistic Regression etc.
Unsupervised Learning
• How it works: In this algorithm, we do not
have any target or outcome variable to predict
/ estimate. It is used for clustering population
in different groups, which is widely used for
segmenting customers in different groups for
specific intervention. Examples of
Unsupervised Learning: Apriori algorithm, K-
means.
Reinforcement Learning:
• How it works: Using this algorithm, the
machine is trained to make specific decisions.
It works this way: the machine is exposed to
an environment where it trains itself
continually using trial and error. This machine
learns from past experience and tries to
capture the best possible knowledge to make
accurate business decisions. Example of
Reinforcement Learning: Markov Decision
Process
List of Common Machine Learning
Algorithms
• Linear Regression
• Logistic Regression
• Decision Tree
• SVM
• Naive Bayes
• KNN
• K-Means
• Random Forest
• Dimensionality Reduction Algorithms
• Gradient Boost & Adaboost
• Andrew Ng, Associate Professor, Stanford
University;
• Machine Learning Recipes with Josh Gordon
• http://archive.ics.uci.edu/ml/
• https://www.youtube.com/watch?v=dcZvhP-
IqY4
• https://www.youtube.com/watch?v=IpGxLWO
IZy4
Supervised learning - introduction
• Probably the most common problem type in
machine learning
• Starting with an example
– How do we predict housing prices
• Collect data regarding housing prices and how they
relate to size in feet
• Example problem: "Given this data, a friend
has a house 750 square feet - how much can
they be expected to get?"
• What approaches can we use to solve
this?Straight line through data
– Maybe $150 000
• Second order polynomial
– Maybe $200 000
• One thing we discuss later - how to chose
straight or curved line?
• Each of these approaches represent a way of
doing supervised learning
• What does this mean? We gave the algorithm
a data set where a "right answer" was
provided
• So we know actual prices for houses
– The idea is we can learn what makes the price a
certain value from the training data
– The algorithm should then produce more right
answers based on new training data where we
don't know the price already
• i.e. predict the price
• We also call this a regression
problemPredict continuous valued output
(price)
• No real discrete delineation
• Another example
– Can we definer breast cancer as malignant or
benign based on tumour size
• Looking at data
Five of each
• Can you estimate prognosis based on tumor size?
• This is an example of a classification problem
– Classify data into one of two discrete classes - no in
between, either malignant or not
– In classification problems, can have a discrete number of
possible values for the output
• e.g. maybe have four values
– 0 - benign
– 1 - type 1
– 2 - type 2
– 3 - type 4

Más contenido relacionado

La actualidad más candente

Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Simplilearn
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
butest
 
2.17Mb ppt
2.17Mb ppt2.17Mb ppt
2.17Mb ppt
butest
 
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Simplilearn
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Simplilearn
 

La actualidad más candente (20)

Introduction to-machine-learning
Introduction to-machine-learningIntroduction to-machine-learning
Introduction to-machine-learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Machine Learning for Dummies
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
 
Machine learning
Machine learning Machine learning
Machine learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
 
Machine learning
Machine learningMachine learning
Machine learning
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Machine Can Think
Machine Can ThinkMachine Can Think
Machine Can Think
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning Presentation
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
2.17Mb ppt
2.17Mb ppt2.17Mb ppt
2.17Mb ppt
 
Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)Introduction to ML (Machine Learning)
Introduction to ML (Machine Learning)
 
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
Machine Learning Tutorial | Machine Learning Basics | Machine Learning Algori...
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
 
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
Machine Learning Tutorial Part - 1 | Machine Learning Tutorial For Beginners ...
 
Machine Learning Algorithms
Machine Learning AlgorithmsMachine Learning Algorithms
Machine Learning Algorithms
 
introduction to machin learning
introduction to machin learningintroduction to machin learning
introduction to machin learning
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learning
 

Similar a Machine learning

Introduction to machine learning-2023-IT-AI and DS.pdf
Introduction to machine learning-2023-IT-AI and DS.pdfIntroduction to machine learning-2023-IT-AI and DS.pdf
Introduction to machine learning-2023-IT-AI and DS.pdf
SisayNegash4
 
Types of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike MoinTypes of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike Moin
Tanvir Moin
 

Similar a Machine learning (20)

Unit-V Machine Learning.ppt
Unit-V Machine Learning.pptUnit-V Machine Learning.ppt
Unit-V Machine Learning.ppt
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Intro to machine learning
Intro to machine learningIntro to machine learning
Intro to machine learning
 
Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha Machine Learning Basics - By Animesh Sinha
Machine Learning Basics - By Animesh Sinha
 
Machine Learning by Rj
Machine Learning by RjMachine Learning by Rj
Machine Learning by Rj
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptx
 
Unit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptxUnit 1-ML (1) (1).pptx
Unit 1-ML (1) (1).pptx
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
Lecture 2 - Introduction to Machine Learning, a lecture in subject module Sta...
 
unit 1.2 supervised learning.pptx
unit 1.2 supervised learning.pptxunit 1.2 supervised learning.pptx
unit 1.2 supervised learning.pptx
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
 
Introduction to machine learning-2023-IT-AI and DS.pdf
Introduction to machine learning-2023-IT-AI and DS.pdfIntroduction to machine learning-2023-IT-AI and DS.pdf
Introduction to machine learning-2023-IT-AI and DS.pdf
 
An introduction to machine learning and statistics
An introduction to machine learning and statisticsAn introduction to machine learning and statistics
An introduction to machine learning and statistics
 
Types of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike MoinTypes of Machine Learning- Tanvir Siddike Moin
Types of Machine Learning- Tanvir Siddike Moin
 
BIG DATA AND MACHINE LEARNING
BIG DATA AND MACHINE LEARNINGBIG DATA AND MACHINE LEARNING
BIG DATA AND MACHINE LEARNING
 
Lecture 5 machine learning updated
Lecture 5   machine learning updatedLecture 5   machine learning updated
Lecture 5 machine learning updated
 
ML Lec 1 (1).pptx
ML Lec 1 (1).pptxML Lec 1 (1).pptx
ML Lec 1 (1).pptx
 
Machine learning --Introduction.pptx
Machine learning --Introduction.pptxMachine learning --Introduction.pptx
Machine learning --Introduction.pptx
 
Machine learning applications nurturing growth of various business domains
Machine learning applications nurturing growth of various business domainsMachine learning applications nurturing growth of various business domains
Machine learning applications nurturing growth of various business domains
 
Supervised learning techniques and applications
Supervised learning techniques and applicationsSupervised learning techniques and applications
Supervised learning techniques and applications
 

Más de Dr Geetha Mohan

Más de Dr Geetha Mohan (13)

INTRODUCTION TO BIG DATA AND HADOOP
INTRODUCTION TO BIG DATA AND HADOOPINTRODUCTION TO BIG DATA AND HADOOP
INTRODUCTION TO BIG DATA AND HADOOP
 
CLOUD ARCHITECTURE AND SERVICES.pptx
CLOUD ARCHITECTURE AND SERVICES.pptxCLOUD ARCHITECTURE AND SERVICES.pptx
CLOUD ARCHITECTURE AND SERVICES.pptx
 
CLOUD ENABLING TECHNOLOGIES.pptx
 CLOUD ENABLING TECHNOLOGIES.pptx CLOUD ENABLING TECHNOLOGIES.pptx
CLOUD ENABLING TECHNOLOGIES.pptx
 
IPR in Academic Research:Dr G Geetha
IPR in Academic Research:Dr G GeethaIPR in Academic Research:Dr G Geetha
IPR in Academic Research:Dr G Geetha
 
How to file a patent
How to file a patentHow to file a patent
How to file a patent
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithms
 
Resource management techniques
Resource management techniquesResource management techniques
Resource management techniques
 
Ge6075 professional ethics in engineering unit 1
Ge6075 professional ethics in engineering  unit 1Ge6075 professional ethics in engineering  unit 1
Ge6075 professional ethics in engineering unit 1
 
Cp7101 design and management of computer networks-flow analysis
Cp7101 design and management of computer networks-flow analysisCp7101 design and management of computer networks-flow analysis
Cp7101 design and management of computer networks-flow analysis
 
Cp7101 design and management of computer networks-requirements analysis 2
Cp7101 design and management of computer networks-requirements analysis 2 Cp7101 design and management of computer networks-requirements analysis 2
Cp7101 design and management of computer networks-requirements analysis 2
 
Cp7101 design and management of computer networks-requirements analysis
Cp7101 design and management of computer networks-requirements analysisCp7101 design and management of computer networks-requirements analysis
Cp7101 design and management of computer networks-requirements analysis
 
Cp7101 design and management of computer networks-design concepts
Cp7101 design and management of computer networks-design conceptsCp7101 design and management of computer networks-design concepts
Cp7101 design and management of computer networks-design concepts
 
Cp7101 design and management of computer networks -network
Cp7101 design and management of computer networks -networkCp7101 design and management of computer networks -network
Cp7101 design and management of computer networks -network
 

Último

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Último (20)

Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 

Machine learning

  • 2. Data Mining • Can cull existing information to highlight patterns, and serves as foundation for AI and machine learning.
  • 3. Artificial Intelligence Broad term for using data to offer solutions to existing problems
  • 4. Machine Learning • Goes beyond AI, and offers data necessary for a machine to learn & adapt
  • 5.
  • 6.
  • 7. • Google’s self-driving cars and robots get a lot of press, but the company’s real future is in machine learning, the technology that enables computers to get smarter and more personal. • – Eric Schmidt (Google Chairman)
  • 8.
  • 9. Machine Learning “Machine Learning is the field of study that gives computers the ability to learn without being explicitly programmed.” Arthur Samuel way back in 1959
  • 10. Machine Learning “A computer program is said to learn from experience E with respect to some task T and some performance measure P, if its performance on T, as measured by P, improves with experience E. in 1997, Tom Mitchell
  • 11. • Machine learning is a set of software techniques (at times referred as algorithms) that automate the creation of models and the use of these models in every day life. These models learn from data and make predictions about data. This is why, at times, machine learning is referred to as big data. Machine learning used to be referred to as Artificial Intelligence (AI). There is not one machine learning technique, rather there are numerous techniques each better suited to specific applications. You might not realize it, but you are experiencing machine learning every day in your digital life. Netflix or Amazon suggests a movie or product recommendation? Machine learning. VISA calls you because of a suspicious activity? Machine learning. Google’s car drives by itself? You guessed it: Machine learning! The smarts behind Kitchology’s app that profiles consumers’ activities and matches food to activities? You already know the answer.
  • 12. Example • Suppose your email program watches which emails you do or do not mark as spam, and based on that learns how to better filter spam. What is the task T in this setting? • Answer • Classifying emails as spam or not spam. • Explanation • T := Classifying emails as spam or not spam. E := Watching you label emails as spam or not spam. P := The number (or fraction) of emails correctly classified as spam/not spam.
  • 13.
  • 14. Examples of machine learning problems • “Is this cancer?” • “What is the market value of this house?” • “Which of these people are good friends with each other?” • “Will this rocket engine explode on take off?”, “Will this person like this movie?”, • “Who is this?”, • “What did you say?” • “How do you fly this thing?”
  • 15. How exactly do we teach machines?
  • 16.
  • 17. Machine Learning • Supervised machine learning • Unsupervised machine learning
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. • Supervised machine learning: The program is “trained” on a pre-defined set of “training examples”, which then facilitate its ability to reach an accurate conclusion when given new data. • Unsupervised machine learning: The program is given a bunch of data and must find patterns and relationships therein.
  • 25. Supervised Machine Learning • supervised learning applications, the ultimate goal is to develop a finely tuned predictor function h(x) (sometimes called the “hypothesis”). “Learning” consists of using sophisticated mathematical algorithms to optimize this function so that, given input data x about a certain domain (say, square footage of a house), it will accurately predict some interesting value h(x) (say, market price for said house). • In practice, x almost always represents multiple data points. So, for example, a housing price predictor might take not only square-footage (x1) but also number of bedrooms (x2), number of bathrooms (x3), number of floors (x4), year built (x5), zip code (x6), and so forth. Determining which inputs to use is an important part of ML design.
  • 26. Classification Problems • Under supervised ML, two major subcategories are: • Regression machine learning systems: Systems where the value being predicted falls somewhere on a continuous spectrum. These systems help us with questions of “How much?” or “How many?”. • Classification machine learning systems: Systems where we seek a yes-or-no prediction, such as “Is this tumer cancerous?”, “Does this cookie meet our quality standards?”, and so on
  • 28. Unsupervised Machine Learning • Unsupervised learning typically is tasked with finding relationships within data. There are no training examples used in this process. Instead, the system is given a set data and tasked with finding patterns and correlations therein. A good example is identifying close- knit groups of friends in social network data.
  • 29. • clustering algorithms such as k-means, • dimensionality reduction systems such as principle component analysis
  • 30. Supervised Learning • How it works: This algorithm consist of a target / outcome variable (or dependent variable) which is to be predicted from a given set of predictors (independent variables). Using these set of variables, we generate a function that map inputs to desired outputs. The training process continues until the model achieves a desired level of accuracy on the training data. Examples of Supervised Learning: Regression, Decision Tree, Random Forest, KNN, Logistic Regression etc.
  • 31. Unsupervised Learning • How it works: In this algorithm, we do not have any target or outcome variable to predict / estimate. It is used for clustering population in different groups, which is widely used for segmenting customers in different groups for specific intervention. Examples of Unsupervised Learning: Apriori algorithm, K- means.
  • 32. Reinforcement Learning: • How it works: Using this algorithm, the machine is trained to make specific decisions. It works this way: the machine is exposed to an environment where it trains itself continually using trial and error. This machine learns from past experience and tries to capture the best possible knowledge to make accurate business decisions. Example of Reinforcement Learning: Markov Decision Process
  • 33. List of Common Machine Learning Algorithms • Linear Regression • Logistic Regression • Decision Tree • SVM • Naive Bayes • KNN • K-Means • Random Forest • Dimensionality Reduction Algorithms • Gradient Boost & Adaboost
  • 34. • Andrew Ng, Associate Professor, Stanford University; • Machine Learning Recipes with Josh Gordon • http://archive.ics.uci.edu/ml/ • https://www.youtube.com/watch?v=dcZvhP- IqY4 • https://www.youtube.com/watch?v=IpGxLWO IZy4
  • 35. Supervised learning - introduction • Probably the most common problem type in machine learning • Starting with an example – How do we predict housing prices • Collect data regarding housing prices and how they relate to size in feet
  • 36. • Example problem: "Given this data, a friend has a house 750 square feet - how much can they be expected to get?"
  • 37.
  • 38. • What approaches can we use to solve this?Straight line through data – Maybe $150 000 • Second order polynomial – Maybe $200 000 • One thing we discuss later - how to chose straight or curved line? • Each of these approaches represent a way of doing supervised learning
  • 39. • What does this mean? We gave the algorithm a data set where a "right answer" was provided • So we know actual prices for houses – The idea is we can learn what makes the price a certain value from the training data – The algorithm should then produce more right answers based on new training data where we don't know the price already • i.e. predict the price
  • 40. • We also call this a regression problemPredict continuous valued output (price) • No real discrete delineation
  • 41. • Another example – Can we definer breast cancer as malignant or benign based on tumour size
  • 42.
  • 43. • Looking at data Five of each • Can you estimate prognosis based on tumor size? • This is an example of a classification problem – Classify data into one of two discrete classes - no in between, either malignant or not – In classification problems, can have a discrete number of possible values for the output • e.g. maybe have four values – 0 - benign – 1 - type 1 – 2 - type 2 – 3 - type 4