SlideShare a Scribd company logo
Machine Learning A Quick look Sources: Artificial Intelligence – Russell & Norvig Artifical Intelligence - Luger By: H é ctor Muñoz-Avila
What Is Machine Learning? “Logic is not the end of wisdom, it is just the beginning” --- Spock System time Knowledge Environment Action 1 Knowledge Environment System changed same Action 2
Classification (According to the language representation) Symbolic Version Space Decision Trees Explanation-Based Learning … Sub-symbolic Connectionist Evolutionary
Version Space Idea : Learn a concept from a group of instances, some positive and some negative Example :  target : obj(Size,Color,Shape) Size  = {large, small} Color = {red, white, blue} Shape = {ball, brick, cube} Instances : + : obj(large,white,ball) obj(small,blue,ball) − : obj(small,red,brick) obj(large,blue,cube) Two extremes (temptative) solutions: obj(X,Y,Z) obj(large,white,ball)  obj(small,blue,ball) … too general too specific obj(large,Y,ball) obj(small,Y,ball) obj(X,Y,ball) … concept space
How Version Space Works + + + + + + + + − − If we consider only positives If we consider positive and negatives + + + + + + + + − − What is the role of the negative instances? to help prevent over-generalizations
Explanation-Based learning A C B A B C A C B C B A B A C B A C B C A C A B A C B B C A A B C A B C A B C Can we avoid making this error again? ? ? ?
Explanation-Based learning (2) A C B A B C C B A A C B A B C ? ? ? More sensible rule:  don’t stack anything above a block, if the block has to be free in the final state   Possible rule:  If the initial state is  this  and the final state is  this , don’t do  that
Evolutionary Approaches Idea : Biological analogy on how populations of species evolve over generations Continue the process until a certain  condition is reached Step 1:  start with a population (each member is a candidate solution) … Step 2:  Create the next generation by considering evolutionary operations on the population from the previous generation (e.g., mutation) and a fitness function (only the more fit get to contribute to the next generation) …
The Genetic Algorithm t    0 Initialize the population P(t) While the termination condition is not met do { evaluate fitness of each member of P(t) select members of P(t) based on fitness produce the offspring of pairs of selected members using  genetic  operators replace, based on fitness, candidates of P(t) based on this offspring t    t + 1 } Crossover Mutation Inversion exchange Non-selected members are not necessarily eliminated
Example: CNF-satisfaction A  c onjunctive  n ormal  f orm (CNF)  is a Boolean expression consisting of one or more disjunctive formulas connected by an AND symbol (  ). A disjunctive formula is a collection of one or more (positive and negative) literals connected by an OR symbol (  ). Example : (a)    ( ¬  a     ¬ b    c    d)    ( ¬ c     ¬ d)    ( ¬ d)  Problem (CNF-satisfaction):  Give an algorithm that receives as input a CNF  form  and returns Boolean assignments for each literal in  form  such that  form  is true Example (above) : a    true, b    false, c    true, d    false
CNF as a Genetic Algorithm A potential solution is a true/false assignment to the 4 variables a, b, c, and d in the formula: 1010 means that a and c are true and b and d are false In particular, a solution for  (a)    (¬ a    ¬b    c    d)    (¬c    ¬d)    (¬d)   is 1001 Nice : all 4 genetic operations applied on any potential solutions will result in a potential solutions (in other problems or other representations of this problem this may not be the case) Fitness: for 0101 and 1001: which is a more suitable solution?  Fitness value? # of disjunctions in the formula that are made true 1001 1 2
The Genetic Algorithm for CNF t    0 Initialize the population P(t) While the termination condition is not met do { evaluate fitness of each member of P(t) select members of P(t) based on fitness produce the offspring of pairs of selected members using genetic  operators replace, based on fitness, candidates of P(t) based on this offspring t    t + 1 } N randomly generated strings of 4 integers Solution has not been found # of disjunctions in the formula that are made true Select top 30% Select among the 4 operations randomly Top N candidates

More Related Content

PPT
Alpaydin - Chapter 2
PPT
Interest Rate Modeling With Cox Ingersoll Ross
PPT
PDF
Simulation methods finance_1
PDF
A Language Independent Task Engine for Incremental Name and Type Analysis - S...
PDF
Pc 2.5 a_notes
PPT
Math Functions in C Scanf Printf
PDF
Acceptable Use Policy
Alpaydin - Chapter 2
Interest Rate Modeling With Cox Ingersoll Ross
Simulation methods finance_1
A Language Independent Task Engine for Incremental Name and Type Analysis - S...
Pc 2.5 a_notes
Math Functions in C Scanf Printf
Acceptable Use Policy

Viewers also liked (8)

DOC
Preview Class Handout "
PPT
November, 2006 CCKM'06 1
DOCX
บทที่ 1
DOC
contract.doc
PPT
The Informational Complexity of Interactive Machine Learning
DOC
Applications Software - Web Design. worksheet.
PPTX
Resources
DOC
download resume
Preview Class Handout "
November, 2006 CCKM'06 1
บทที่ 1
contract.doc
The Informational Complexity of Interactive Machine Learning
Applications Software - Web Design. worksheet.
Resources
download resume
Ad

Similar to ML.ppt (20)

PPT
Genetic Algorithms-1.ppt
PPTX
PPTX
Genetic algorithms
PDF
Data Science - Part XIV - Genetic Algorithms
PDF
A Review On Genetic Algorithm And Its Applications
PPTX
Genetic algorithm
PPT
Genetic algorithm
PDF
CSA 3702 machine learning module 4
PPTX
Genetic Algorithm
PDF
Info to Genetic Algorithms - DC Ruby Users Group 11.10.2016
PDF
Introduction to Genetic Algorithms 2014
PPT
An Introduction To Applied Evolutionary Meta Heuristics
PDF
Introduction to Genetic Algorithms and Evolutionary Computation
PPT
Group 9 genetic-algorithms (1)
PPT
Chapter09.ppt
PDF
Self-configuring Classical Logic Gate Circuits using Genetic Programming in J...
PPTX
FUZZY GENETIC HYBRID SYSTEM of neural system.pptx
PPT
0101.genetic algorithm
PPT
Genetic algorithm
PPT
Genetic-Algorithms for engineering appl.ppt
Genetic Algorithms-1.ppt
Genetic algorithms
Data Science - Part XIV - Genetic Algorithms
A Review On Genetic Algorithm And Its Applications
Genetic algorithm
Genetic algorithm
CSA 3702 machine learning module 4
Genetic Algorithm
Info to Genetic Algorithms - DC Ruby Users Group 11.10.2016
Introduction to Genetic Algorithms 2014
An Introduction To Applied Evolutionary Meta Heuristics
Introduction to Genetic Algorithms and Evolutionary Computation
Group 9 genetic-algorithms (1)
Chapter09.ppt
Self-configuring Classical Logic Gate Circuits using Genetic Programming in J...
FUZZY GENETIC HYBRID SYSTEM of neural system.pptx
0101.genetic algorithm
Genetic algorithm
Genetic-Algorithms for engineering appl.ppt
Ad

More from butest (20)

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

ML.ppt

  • 1. Machine Learning A Quick look Sources: Artificial Intelligence – Russell & Norvig Artifical Intelligence - Luger By: H é ctor Muñoz-Avila
  • 2. What Is Machine Learning? “Logic is not the end of wisdom, it is just the beginning” --- Spock System time Knowledge Environment Action 1 Knowledge Environment System changed same Action 2
  • 3. Classification (According to the language representation) Symbolic Version Space Decision Trees Explanation-Based Learning … Sub-symbolic Connectionist Evolutionary
  • 4. Version Space Idea : Learn a concept from a group of instances, some positive and some negative Example : target : obj(Size,Color,Shape) Size = {large, small} Color = {red, white, blue} Shape = {ball, brick, cube} Instances : + : obj(large,white,ball) obj(small,blue,ball) − : obj(small,red,brick) obj(large,blue,cube) Two extremes (temptative) solutions: obj(X,Y,Z) obj(large,white,ball) obj(small,blue,ball) … too general too specific obj(large,Y,ball) obj(small,Y,ball) obj(X,Y,ball) … concept space
  • 5. How Version Space Works + + + + + + + + − − If we consider only positives If we consider positive and negatives + + + + + + + + − − What is the role of the negative instances? to help prevent over-generalizations
  • 6. Explanation-Based learning A C B A B C A C B C B A B A C B A C B C A C A B A C B B C A A B C A B C A B C Can we avoid making this error again? ? ? ?
  • 7. Explanation-Based learning (2) A C B A B C C B A A C B A B C ? ? ? More sensible rule: don’t stack anything above a block, if the block has to be free in the final state Possible rule: If the initial state is this and the final state is this , don’t do that
  • 8. Evolutionary Approaches Idea : Biological analogy on how populations of species evolve over generations Continue the process until a certain condition is reached Step 1: start with a population (each member is a candidate solution) … Step 2: Create the next generation by considering evolutionary operations on the population from the previous generation (e.g., mutation) and a fitness function (only the more fit get to contribute to the next generation) …
  • 9. The Genetic Algorithm t  0 Initialize the population P(t) While the termination condition is not met do { evaluate fitness of each member of P(t) select members of P(t) based on fitness produce the offspring of pairs of selected members using genetic operators replace, based on fitness, candidates of P(t) based on this offspring t  t + 1 } Crossover Mutation Inversion exchange Non-selected members are not necessarily eliminated
  • 10. Example: CNF-satisfaction A c onjunctive n ormal f orm (CNF) is a Boolean expression consisting of one or more disjunctive formulas connected by an AND symbol (  ). A disjunctive formula is a collection of one or more (positive and negative) literals connected by an OR symbol (  ). Example : (a)  ( ¬ a  ¬ b  c  d)  ( ¬ c  ¬ d)  ( ¬ d) Problem (CNF-satisfaction): Give an algorithm that receives as input a CNF form and returns Boolean assignments for each literal in form such that form is true Example (above) : a  true, b  false, c  true, d  false
  • 11. CNF as a Genetic Algorithm A potential solution is a true/false assignment to the 4 variables a, b, c, and d in the formula: 1010 means that a and c are true and b and d are false In particular, a solution for (a)  (¬ a  ¬b  c  d)  (¬c  ¬d)  (¬d) is 1001 Nice : all 4 genetic operations applied on any potential solutions will result in a potential solutions (in other problems or other representations of this problem this may not be the case) Fitness: for 0101 and 1001: which is a more suitable solution? Fitness value? # of disjunctions in the formula that are made true 1001 1 2
  • 12. The Genetic Algorithm for CNF t  0 Initialize the population P(t) While the termination condition is not met do { evaluate fitness of each member of P(t) select members of P(t) based on fitness produce the offspring of pairs of selected members using genetic operators replace, based on fitness, candidates of P(t) based on this offspring t  t + 1 } N randomly generated strings of 4 integers Solution has not been found # of disjunctions in the formula that are made true Select top 30% Select among the 4 operations randomly Top N candidates