SlideShare a Scribd company logo
1 of 20
Download to read offline
Machine Learning
CSE 4308/5360 – Artificial Intelligence I
                   Darin Brezeale

         The University of Texas at Arlington




                                                Machine Learning – p. 1/2
Introduction
Machine learning is the area of artificial intelligence
in which we ‘teach’ the computer what it knows. This
is typically done by providing training examples,
either labeled (supervised learning) or unlabeled
(unsupervised learning).

Many different methods have been developed for
performing machine learning, each with its strengths
and weaknesses.




                                              Machine Learning – p. 2/2
Introduction
Why learn instead of just hard-coding rules?
 • It may not be practical; the number of rules may
   be too large.
 • Humans may not understand the domain
   well-enough to write the rules, e.g., in
   recognizing faces.
 • Things change; we would like a program to be
   able to change as well without much human
   intervention.




                                            Machine Learning – p. 3/2
Data Representation
A question that is often neglected when discussing
machine learning is ‘How do I represent my training
examples?’

A typical approach is to represent the examples as
vectors.
EX: If we had samples for various animals, then the
sample
   <dog, has hair, barks, flys, tail, no gills>


might become
   {dog, 1, 1, 0, 1, 0}



                                                  Machine Learning – p. 4/2
Neural Network
A neural network (or artificial neural network) is a
network of simple units.
The artificial neural network is inspired by the
network of neurons in the human brain.
Neural networks can handle discrete or real-valued
functions and have been very popular in various
pattern recognition applications, e.g., recognizing
faces.




                                              Machine Learning – p. 5/2
Neural Network




   Figure 1: Simple multilayer feedforward network.



                                               Machine Learning – p. 6/2
Neural Network
The value of a unit is a weighted sum of its input.




Figure 2: Relationship between a single unit and its input units.




                                                       Machine Learning – p. 7/2
Neural Network
The big questions when using a neural network are:
 1. What type of network (e.g., feedforward,
    back-propagation, etc.) should be used?
 2. What should the network topology (i.e., how
    many hidden nodes) be?




                                            Machine Learning – p. 8/2
Neural Network
Pros:
  • can fit nonlinear functions

  • can handle noisy data


Cons:
  • hard to understand the resulting function weights

  • can take a long time to train




                                             Machine Learning – p. 9/2
Genetic Algorithm
Genetic algorithms are based on the concept of
natural selection with the attributes of the samples
treated as ‘chromosomes’.
They are useful for solving optimization problems.
We don’t train the system; instead, we are seeking the
combination of values that produces the best result.




                                               Machine Learning – p. 10/2
Genetic Algorithm
The various solutions to a problem are individuals in a
population.
Some produce better function values than others.
The stronger individuals are combined to produce new
offspring with operations such as crossover and
mutation.




                                              Machine Learning – p. 11/2
Genetic Algorithm




       Figure 3: Application of crossover.




                                             Machine Learning – p. 12/2
Genetic Algorithm
Pros:
  • Domain independent.

  • Can overcome local optima.


Cons:
  • Not always clear how to represent the problem.

  • Must choose fitness function, rate of cross-over,
    rate of mutation, etc.




                                             Machine Learning – p. 13/2
Decision Tree
Decision trees are trees in which the branches
represent the values of attributes.
They can be used to represent discrete-valued
functions.




                                                Machine Learning – p. 14/2
Decision Tree




Figure 4: Simplistic decision tree for classifying some types of
animals.




                                                     Machine Learning – p. 15/2
Decision Tree
The big question when constructing decision trees is
the order of attributes to branch on. Often the
attributes are ordered by the information gain from
them.
Example: If we constructed a decision tree to classify
mammals as dog or not-dog, the top split should
not be ‘walks’ since most mammals walk. A better
choice might be ‘barks’.




                                             Machine Learning – p. 16/2
Decision Tree
Pros: easy to understand results
Cons: prone to overfitting (pruning can address this)




                                             Machine Learning – p. 17/2
Reinforcement Learning
In reinforcement learning, the agent receives feedback
from its actions and seeks to maximize its total
reward.
This is different from supervised learning in that
training examples are not provided.
Used for sequential decisions.
See examples at:
http://www.cs.ualberta.ca/ sutton/book/ebook/node8.html




                                                          Machine Learning – p. 18/2
More Recent Methods
The methods previously described are some of the
oldest. More recent methods are:
  • statistics-based – actually, these have been around
    for a while, but they remain the focus of much
    research, especially as statisticians begin looking
    at machine learning and data mining
  • matrix decompositions – learn a basis for each
    category; classify as category whose basis vectors
    best represent the new sample.




                                              Machine Learning – p. 19/2
References
 • Hastie, Trevor, Robert Tibshirani, and Jerome Friedman, The Elements
   of Statistical Learning, 2nd ed, Springer, 2009.
 • Marczyk, Adam, Genetic Algorithms and Evolutionary Computation,
   URL: http://www.talkorigins.org/faqs/genalg/genalg.html, accessed:
   August 9, 2009.
 • Mitchell, Tom M., Machine Learning, McGraw-Hill, 1997.
 • Moore, Andrew W., Statistical Data Mining Tutorials, URL:
   http://www.autonlab.org/tutorials/, accessed: August 9, 2009.
 • Sutton, Richard S. and Andrew G. Barto, Reinforcement Learning: An
   Introduction, The MIT Press, 1998.




                                                             Machine Learning – p. 20/2

More Related Content

What's hot

"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre..."An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...Edge AI and Vision Alliance
 
Machine Learning Using Python
Machine Learning Using PythonMachine Learning Using Python
Machine Learning Using PythonSavitaHanchinal
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learningUmmeSalmaM1
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningSangath babu
 
Intro/Overview on Machine Learning Presentation -2
Intro/Overview on Machine Learning Presentation -2Intro/Overview on Machine Learning Presentation -2
Intro/Overview on Machine Learning Presentation -2Ankit Gupta
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningHaptik
 
Machine Learning Final presentation
Machine Learning Final presentation Machine Learning Final presentation
Machine Learning Final presentation AyanaRukasar
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt Poojamanic
 
Types of Machine Learning
Types of Machine LearningTypes of Machine Learning
Types of Machine LearningSamra Shahzadi
 
2.17Mb ppt
2.17Mb ppt2.17Mb ppt
2.17Mb pptbutest
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning BasicsSuresh Arora
 
introducción a Machine Learning
introducción a Machine Learningintroducción a Machine Learning
introducción a Machine Learningbutest
 
Building a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to ZBuilding a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to ZCharles Vestur
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationAnkit Gupta
 
Machine Learning
Machine LearningMachine Learning
Machine LearningShrey Malik
 

What's hot (20)

"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre..."An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
"An Introduction to Machine Learning and How to Teach Machines to See," a Pre...
 
Machine Learning Using Python
Machine Learning Using PythonMachine Learning Using Python
Machine Learning Using Python
 
Machine learning
 Machine learning Machine learning
Machine learning
 
Lecture1 introduction to machine learning
Lecture1 introduction to machine learningLecture1 introduction to machine learning
Lecture1 introduction to machine learning
 
Machine learning
Machine learningMachine learning
Machine learning
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Intro/Overview on Machine Learning Presentation -2
Intro/Overview on Machine Learning Presentation -2Intro/Overview on Machine Learning Presentation -2
Intro/Overview on Machine Learning Presentation -2
 
A Friendly Introduction to Machine Learning
A Friendly Introduction to Machine LearningA Friendly Introduction to Machine Learning
A Friendly Introduction to Machine Learning
 
Machine Learning Final presentation
Machine Learning Final presentation Machine Learning Final presentation
Machine Learning Final presentation
 
Machine learning ppt
Machine learning ppt Machine learning ppt
Machine learning ppt
 
Machine Can Think
Machine Can ThinkMachine Can Think
Machine Can Think
 
Types of Machine Learning
Types of Machine LearningTypes of Machine Learning
Types of Machine Learning
 
2.17Mb ppt
2.17Mb ppt2.17Mb ppt
2.17Mb ppt
 
Machine Learning Basics
Machine Learning BasicsMachine Learning Basics
Machine Learning Basics
 
Machine learning
Machine learningMachine learning
Machine learning
 
introducción a Machine Learning
introducción a Machine Learningintroducción a Machine Learning
introducción a Machine Learning
 
Building a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to ZBuilding a performing Machine Learning model from A to Z
Building a performing Machine Learning model from A to Z
 
ML Basics
ML BasicsML Basics
ML Basics
 
Intro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning PresentationIntro/Overview on Machine Learning Presentation
Intro/Overview on Machine Learning Presentation
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 

Similar to Machine Learning

LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.pptbutest
 
Lect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdfLect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdfHassanElalfy4
 
Introduction.doc
Introduction.docIntroduction.doc
Introduction.docbutest
 
chalenges and apportunity of deep learning for big data analysis f
 chalenges and apportunity of deep learning for big data analysis f chalenges and apportunity of deep learning for big data analysis f
chalenges and apportunity of deep learning for big data analysis fmaru kindeneh
 
AI_06_Machine Learning.pptx
AI_06_Machine Learning.pptxAI_06_Machine Learning.pptx
AI_06_Machine Learning.pptxYousef Aburawi
 
Introduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfIntroduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfGandhiMathy6
 
Brief Tour of Machine Learning
Brief Tour of Machine LearningBrief Tour of Machine Learning
Brief Tour of Machine Learningbutest
 
Machine Learning Tutorial for Beginners
Machine Learning Tutorial for BeginnersMachine Learning Tutorial for Beginners
Machine Learning Tutorial for Beginnersgrinu
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
Machine learning it is time...
Machine learning it is time...Machine learning it is time...
Machine learning it is time...Sandip Chatterjee
 
Unit I and II Machine Learning MCA CREC.pptx
Unit I and II Machine Learning MCA CREC.pptxUnit I and II Machine Learning MCA CREC.pptx
Unit I and II Machine Learning MCA CREC.pptxtrishipaul
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learningZAMANCHBWN
 
Unit 1 - ML - Introduction to Machine Learning.pptx
Unit 1 - ML - Introduction to Machine Learning.pptxUnit 1 - ML - Introduction to Machine Learning.pptx
Unit 1 - ML - Introduction to Machine Learning.pptxjawad184956
 
IRJET - A Survey on Machine Learning Algorithms, Techniques and Applications
IRJET - A Survey on Machine Learning Algorithms, Techniques and ApplicationsIRJET - A Survey on Machine Learning Algorithms, Techniques and Applications
IRJET - A Survey on Machine Learning Algorithms, Techniques and ApplicationsIRJET Journal
 
machinecanthink-160226155704.pdf
machinecanthink-160226155704.pdfmachinecanthink-160226155704.pdf
machinecanthink-160226155704.pdfPranavPatil822557
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.butest
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning LandscapeEng Teong Cheah
 
Supervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its applicationSupervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its applicationTara ram Goyal
 
Ai based projects
Ai based projectsAi based projects
Ai based projectsaliaKhan71
 

Similar to Machine Learning (20)

LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.ppt
 
Lect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdfLect 7 intro to M.L..pdf
Lect 7 intro to M.L..pdf
 
Introduction.doc
Introduction.docIntroduction.doc
Introduction.doc
 
chalenges and apportunity of deep learning for big data analysis f
 chalenges and apportunity of deep learning for big data analysis f chalenges and apportunity of deep learning for big data analysis f
chalenges and apportunity of deep learning for big data analysis f
 
AI_06_Machine Learning.pptx
AI_06_Machine Learning.pptxAI_06_Machine Learning.pptx
AI_06_Machine Learning.pptx
 
Introduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdfIntroduction AI ML& Mathematicals of ML.pdf
Introduction AI ML& Mathematicals of ML.pdf
 
Brief Tour of Machine Learning
Brief Tour of Machine LearningBrief Tour of Machine Learning
Brief Tour of Machine Learning
 
Machine Learning Tutorial for Beginners
Machine Learning Tutorial for BeginnersMachine Learning Tutorial for Beginners
Machine Learning Tutorial for Beginners
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Machine learning it is time...
Machine learning it is time...Machine learning it is time...
Machine learning it is time...
 
Unit I and II Machine Learning MCA CREC.pptx
Unit I and II Machine Learning MCA CREC.pptxUnit I and II Machine Learning MCA CREC.pptx
Unit I and II Machine Learning MCA CREC.pptx
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
detailed Presentation on supervised learning
 detailed Presentation on supervised learning detailed Presentation on supervised learning
detailed Presentation on supervised learning
 
Unit 1 - ML - Introduction to Machine Learning.pptx
Unit 1 - ML - Introduction to Machine Learning.pptxUnit 1 - ML - Introduction to Machine Learning.pptx
Unit 1 - ML - Introduction to Machine Learning.pptx
 
IRJET - A Survey on Machine Learning Algorithms, Techniques and Applications
IRJET - A Survey on Machine Learning Algorithms, Techniques and ApplicationsIRJET - A Survey on Machine Learning Algorithms, Techniques and Applications
IRJET - A Survey on Machine Learning Algorithms, Techniques and Applications
 
machinecanthink-160226155704.pdf
machinecanthink-160226155704.pdfmachinecanthink-160226155704.pdf
machinecanthink-160226155704.pdf
 
Introduction to Machine Learning.
Introduction to Machine Learning.Introduction to Machine Learning.
Introduction to Machine Learning.
 
Machine Learning Landscape
Machine Learning LandscapeMachine Learning Landscape
Machine Learning Landscape
 
Supervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its applicationSupervised Machine Learning Techniques common algorithms and its application
Supervised Machine Learning Techniques common algorithms and its application
 
Ai based projects
Ai based projectsAi based projects
Ai based projects
 

More from butest

EL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEEL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEbutest
 
1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同butest
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALbutest
 
Timeline: The Life of Michael Jackson
Timeline: The Life of Michael JacksonTimeline: The Life of Michael Jackson
Timeline: The Life of Michael Jacksonbutest
 
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...butest
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALbutest
 
Com 380, Summer II
Com 380, Summer IICom 380, Summer II
Com 380, Summer IIbutest
 
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet JazzThe MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazzbutest
 
MICHAEL JACKSON.doc
MICHAEL JACKSON.docMICHAEL JACKSON.doc
MICHAEL JACKSON.docbutest
 
Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1butest
 
Facebook
Facebook Facebook
Facebook butest
 
Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...butest
 
Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...butest
 
NEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTNEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTbutest
 
C-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docC-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docbutest
 
MAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docMAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docbutest
 
Mac OS X Guide.doc
Mac OS X Guide.docMac OS X Guide.doc
Mac OS X Guide.docbutest
 
WEB DESIGN!
WEB DESIGN!WEB DESIGN!
WEB DESIGN!butest
 

More from butest (20)

EL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBEEL MODELO DE NEGOCIO DE YOUTUBE
EL MODELO DE NEGOCIO DE YOUTUBE
 
1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同1. MPEG I.B.P frame之不同
1. MPEG I.B.P frame之不同
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIAL
 
Timeline: The Life of Michael Jackson
Timeline: The Life of Michael JacksonTimeline: The Life of Michael Jackson
Timeline: The Life of Michael Jackson
 
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
Popular Reading Last Updated April 1, 2010 Adams, Lorraine The ...
 
LESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIALLESSONS FROM THE MICHAEL JACKSON TRIAL
LESSONS FROM THE MICHAEL JACKSON TRIAL
 
Com 380, Summer II
Com 380, Summer IICom 380, Summer II
Com 380, Summer II
 
PPT
PPTPPT
PPT
 
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet JazzThe MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
The MYnstrel Free Press Volume 2: Economic Struggles, Meet Jazz
 
MICHAEL JACKSON.doc
MICHAEL JACKSON.docMICHAEL JACKSON.doc
MICHAEL JACKSON.doc
 
Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1Social Networks: Twitter Facebook SL - Slide 1
Social Networks: Twitter Facebook SL - Slide 1
 
Facebook
Facebook Facebook
Facebook
 
Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...Executive Summary Hare Chevrolet is a General Motors dealership ...
Executive Summary Hare Chevrolet is a General Motors dealership ...
 
Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...Welcome to the Dougherty County Public Library's Facebook and ...
Welcome to the Dougherty County Public Library's Facebook and ...
 
NEWS ANNOUNCEMENT
NEWS ANNOUNCEMENTNEWS ANNOUNCEMENT
NEWS ANNOUNCEMENT
 
C-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.docC-2100 Ultra Zoom.doc
C-2100 Ultra Zoom.doc
 
MAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.docMAC Printing on ITS Printers.doc.doc
MAC Printing on ITS Printers.doc.doc
 
Mac OS X Guide.doc
Mac OS X Guide.docMac OS X Guide.doc
Mac OS X Guide.doc
 
hier
hierhier
hier
 
WEB DESIGN!
WEB DESIGN!WEB DESIGN!
WEB DESIGN!
 

Machine Learning

  • 1. Machine Learning CSE 4308/5360 – Artificial Intelligence I Darin Brezeale The University of Texas at Arlington Machine Learning – p. 1/2
  • 2. Introduction Machine learning is the area of artificial intelligence in which we ‘teach’ the computer what it knows. This is typically done by providing training examples, either labeled (supervised learning) or unlabeled (unsupervised learning). Many different methods have been developed for performing machine learning, each with its strengths and weaknesses. Machine Learning – p. 2/2
  • 3. Introduction Why learn instead of just hard-coding rules? • It may not be practical; the number of rules may be too large. • Humans may not understand the domain well-enough to write the rules, e.g., in recognizing faces. • Things change; we would like a program to be able to change as well without much human intervention. Machine Learning – p. 3/2
  • 4. Data Representation A question that is often neglected when discussing machine learning is ‘How do I represent my training examples?’ A typical approach is to represent the examples as vectors. EX: If we had samples for various animals, then the sample <dog, has hair, barks, flys, tail, no gills> might become {dog, 1, 1, 0, 1, 0} Machine Learning – p. 4/2
  • 5. Neural Network A neural network (or artificial neural network) is a network of simple units. The artificial neural network is inspired by the network of neurons in the human brain. Neural networks can handle discrete or real-valued functions and have been very popular in various pattern recognition applications, e.g., recognizing faces. Machine Learning – p. 5/2
  • 6. Neural Network Figure 1: Simple multilayer feedforward network. Machine Learning – p. 6/2
  • 7. Neural Network The value of a unit is a weighted sum of its input. Figure 2: Relationship between a single unit and its input units. Machine Learning – p. 7/2
  • 8. Neural Network The big questions when using a neural network are: 1. What type of network (e.g., feedforward, back-propagation, etc.) should be used? 2. What should the network topology (i.e., how many hidden nodes) be? Machine Learning – p. 8/2
  • 9. Neural Network Pros: • can fit nonlinear functions • can handle noisy data Cons: • hard to understand the resulting function weights • can take a long time to train Machine Learning – p. 9/2
  • 10. Genetic Algorithm Genetic algorithms are based on the concept of natural selection with the attributes of the samples treated as ‘chromosomes’. They are useful for solving optimization problems. We don’t train the system; instead, we are seeking the combination of values that produces the best result. Machine Learning – p. 10/2
  • 11. Genetic Algorithm The various solutions to a problem are individuals in a population. Some produce better function values than others. The stronger individuals are combined to produce new offspring with operations such as crossover and mutation. Machine Learning – p. 11/2
  • 12. Genetic Algorithm Figure 3: Application of crossover. Machine Learning – p. 12/2
  • 13. Genetic Algorithm Pros: • Domain independent. • Can overcome local optima. Cons: • Not always clear how to represent the problem. • Must choose fitness function, rate of cross-over, rate of mutation, etc. Machine Learning – p. 13/2
  • 14. Decision Tree Decision trees are trees in which the branches represent the values of attributes. They can be used to represent discrete-valued functions. Machine Learning – p. 14/2
  • 15. Decision Tree Figure 4: Simplistic decision tree for classifying some types of animals. Machine Learning – p. 15/2
  • 16. Decision Tree The big question when constructing decision trees is the order of attributes to branch on. Often the attributes are ordered by the information gain from them. Example: If we constructed a decision tree to classify mammals as dog or not-dog, the top split should not be ‘walks’ since most mammals walk. A better choice might be ‘barks’. Machine Learning – p. 16/2
  • 17. Decision Tree Pros: easy to understand results Cons: prone to overfitting (pruning can address this) Machine Learning – p. 17/2
  • 18. Reinforcement Learning In reinforcement learning, the agent receives feedback from its actions and seeks to maximize its total reward. This is different from supervised learning in that training examples are not provided. Used for sequential decisions. See examples at: http://www.cs.ualberta.ca/ sutton/book/ebook/node8.html Machine Learning – p. 18/2
  • 19. More Recent Methods The methods previously described are some of the oldest. More recent methods are: • statistics-based – actually, these have been around for a while, but they remain the focus of much research, especially as statisticians begin looking at machine learning and data mining • matrix decompositions – learn a basis for each category; classify as category whose basis vectors best represent the new sample. Machine Learning – p. 19/2
  • 20. References • Hastie, Trevor, Robert Tibshirani, and Jerome Friedman, The Elements of Statistical Learning, 2nd ed, Springer, 2009. • Marczyk, Adam, Genetic Algorithms and Evolutionary Computation, URL: http://www.talkorigins.org/faqs/genalg/genalg.html, accessed: August 9, 2009. • Mitchell, Tom M., Machine Learning, McGraw-Hill, 1997. • Moore, Andrew W., Statistical Data Mining Tutorials, URL: http://www.autonlab.org/tutorials/, accessed: August 9, 2009. • Sutton, Richard S. and Andrew G. Barto, Reinforcement Learning: An Introduction, The MIT Press, 1998. Machine Learning – p. 20/2