SlideShare una empresa de Scribd logo
1 de 61
Machine Learning Version Spaces Learning
Introduction: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Version Spaces A  concept learning  technique based on  refining models  of the world.
Concept Learning ,[object Object],[object Object],Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - ,[object Object]
In general ,[object Object],[object Object],[object Object],[object Object],[object Object],Restaurant Meal Day Cost    3  X  3  X  7  X  2  =  126 Reaction:   Restaurant X Meal X Day X Cost  -->  Bool Find an inductive ‘guess’ of the concept, that covers all the examples !
Pictured: Set of all possible events                                   Given some  examples: + + + + - - - - Find a concept that covers all the positive  examples and none of the negative ones!
Non-determinism ,[object Object],[object Object],Set of all possible events                                   + + + + - - - -
An obvious, but bad choice: ,[object Object],[object Object],[object Object],[object Object],Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No - - - + +
Pictured: ,[object Object],Set of all possible events + + + + - - - -                                  
Equally bad is: ,[object Object],[object Object],[object Object],[object Object],Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - -
Pictured: ,[object Object],Set of all possible events                                   + + + + - - - -
Solution:  fix a language of hypotheses: ,[object Object],= hypothesis space ,[object Object],[object Object],[object Object]
Reaction - Example: Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hypotheses relate to  sets of possible events        Events    x2      x1 x1 =  <  Alma 3, lunch, Monday, expensive> x2 = < Sedes, lunch, Sunday, cheap> h1  = [?, lunch, Monday, ?] h2  = [?, lunch, ?, cheap] h3  = [?, lunch, ?, ?] General Specific                 Hypotheses h2 h3 h1
Expressive power of this hypothesis language: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Other languages of hypotheses are allowed ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],any_color mono_color polyo_color red   blue  green   orange   purple 
Important about hypothesis languages: ,[object Object]
Defining Concept Learning: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The inductive learning hypothesis: If  a hypothesis approximates the target function well  over a sufficiently large number of examples , then  the hypothesis will also approximate the  target function well  on other unobserved examples .
Find-S: a naïve algorithm Replace  h  by a minimal generalization of  h  that covers  x Return   h Initialize :  h :=   For  each  positive  training example  x  in  D   Do: If   h  does  not  cover  x :
Reaction example: minimal generalizations = the individual events Generalization = replace something by ? no more positive examples: return  h Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - Initially: h =   Example 1: h =  [Alma 3,breakfast,Friday,cheap]  Example 2: h =  [Alma 3,  ? ,  ? ,cheap] 
Properties of Find-S ,[object Object],[object Object],Beth Jo Alex Hacker Scientist Footballplayer  H Beth can be minimally generalized in 2 ways to include a new example Jo.
Properties of Find-S (2) ,[object Object],D : Beth Alex Jo + - + Beth Jo Alex Hacker Scientist Footballplayer  H Is a wrong solution
Properties of Find-S (3) ,[object Object],[object Object],D : Beth Jo  Beth + + - D : Beth Alex  Jo + - + Jo Alex Scientist  H Beth
Nice about Find-S: ,[object Object],If  h  already covered the 20 first examples,  then  h’  will as well h        X H ,[object Object], h’   
Dual Find-S: Initialize :  h :=  [ ?, ?, .., ?] For  each  negative  training example  x  in  D   Do: If   h  does cover  x : Replace  h  by a minimal specialization of  h  that does  not  cover  x Return   h
Reaction example: Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - Initially: h = [ ?, ?, ?, ?] Example 1:  h= [ ?, breakfast, ?, ?] Example 2:  h= [ Alma 3, breakfast, ?, ?] Example 3:  h= [ Alma 3, breakfast, ?, cheap]
Version Spaces: the idea:  ,[object Object],[object Object],[object Object],[object Object]
Version spaces: initialization ,[object Object],G = { [ ?, ?, …, ?] } S = {    }
Negative examples: ,[object Object],Invariant : only the hypotheses  more specific  than the  ones of  G  are still possible:   they don’t cover the negative example S = {    }  G = { [ ?, ?, …, ?] } G = {h1, h2, …, hn}
Positive examples: ,[object Object],Invariant : only the hypotheses  more general  than the  ones of  S  are still possible:   they do cover the positive example G = {h1, h2, …, hn} S = {    } S = { h1’, h2’, …,hm’  }
Later: negative examples ,[object Object],Invariant : only the hypotheses  more specific  than the  ones of  G  are still possible:   they don’t cover the negative example S = { h1’, h2’, …,hm’  }  G = {h1, h2, …, hn} G = {h1, h21, h22, …, hn}
Later: positive examples ,[object Object],Invariant : only the hypotheses  more general  than the  ones of  S  are still possible:   they do cover the positive example G = {h1, h21, h22, …, hn} S = { h1’, h2’, …,hm’  }  S = { h11’, h12’, h13’, h2’, …,hm’  }
Optimization: negative: ,[object Object],…  are more general than ... G = {h1, h21, …, hn} S = { h1’, h2’, …,hm’  }  Invariant : on  S  used !
Optimization: positive: ,[object Object],…  are more specific than ... Invariant : on  G  used ! G = {h1, h21, h22, …, hn} S = { h13’, h2’, …,hm’  }
Pruning: negative examples  ,[object Object],G = {h1, h21, …, hn} S = { h1’, h3’, …,hm’  }  Invariant  only works for the previous examples, not the last one Cover the last negative example!
Pruning: positive examples  ,[object Object],G = {h1, h21, …, hn} S = { h1’, h3’, …,hm’  }  Don’t cover the last positive example
Eliminate redundant hypotheses ,[object Object],More specific than another general hypothesis Obviously also for  S  ! G = {h1, h21, …, hn} S = { h1’, h3’, …,hm’  }  Reason:   Invariant acts as a wave front : anything above  G  is not allowed. The most general elements of  G  define the real boundary
Convergence: ,[object Object],[object Object],G = {h1, h21, h22, …, hn} S = { h13’, h2’, …,hm’  }
Reaction example ,[object Object],[ ?, ?, ?, ?] Most general  Most specific
Alma3,  breakfast,  Friday,  cheap:  + ,[object Object],[ ?, ?, ?, ?]  [Alma3, breakfast, Friday, cheap]
DeMoete,  lunch,  Friday,  expensive:  - ,[object Object],[object Object],[ Alma3 , ?, ?, ?] [ DeMoete , ?, ?, ?]  [ Sedes , ?, ?, ?] [?,  breakfast , ?, ?] [?,  lunch , ?, ?] [?,  dinner , ?, ?] [?, ?,  Monday , ?] [?, ?,  Tuesday , ?] [?, ?,  Wednesday , ?] [?, ?,  Thursday , ?] [?, ?,  Friday , ?] [?, ?,  Saturday , ?] [?, ?,  Sunday , ?] [?, ?, ?,  cheap ] [?, ?, ?,  expensive ] Matches the negative example X X X X Does not generalize the specific model Specific model: [Alma3, breakfast, Friday, cheap] X X X X X X X X Remain !
Result after example 2: [ ?, ?, ?, ?]  [Alma3, breakfast, Friday, cheap] [ Alma3 , ?, ?, ?] [?,  breakfast , ?, ?] [?, ?, ?,  cheap ]
Alma3,  lunch,  Saturday,  cheap:  + ,[object Object],[Alma3, breakfast, Friday, cheap] [Alma3, ?, ?, ?] [?, breakfast, ?, ?] [?, ?, ?, cheap] [Alma3, ? , ? , cheap] does not match new example
Sedes,  breakfast,  Sunday,  cheap:  - ,[object Object],The only specialization that is introduced is  pruned, because it is more specific than  another general hypothesis [Alma3, ?, ?, ?] [?, ?, ?, cheap] [Alma3, ? , ? , cheap] [ Alma3 , ?, ?, cheap]
Alma 3,  breakfast,  Sunday,  expensive:  - ,[object Object],Cheap food at Alma3 produces the allergy ! [Alma3, ?, ?, ?] [Alma3, ? , ? , cheap] [Alma3, ?, ?,  cheap ] Same hypothesis !!!
Version Space Algorithm: Generalize  all hypotheses in  S  that do not cover the    example yet, but ensure the following:   - Only introduce  minimal changes  on the hypotheses.   -  Each  new specific hypothesis is a  specialization of   some general hypothesis .   -  No  new specific hypothesis is a  generalization of   some other specific hypothesis . Prune away  all hypotheses in  G  that do not cover the   example. Initially :  G := { the hypothesis that covers everything}   S := {  } For each new  positive  example:
Version Space Algorithm (2): Specialize  all hypotheses in  G  that cover the example,    but ensure the following:   - Only introduce  minimal changes  on the hypotheses.   -  Each  new general hypothesis is a  generalization of   some specific hypothesis .   -  No  new general hypothesis is a  specialization of   some other general hypothesis . Prune away  all hypotheses in  S  that cover the example. Until there are no more examples:   report  S  and  G OR  S  or  G  become empty :  report failure . . . For each new  negative  example:
Properties of VS: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Termination: ,[object Object],Then  all these hypotheses , and  all intermediate hypotheses , are still correct descriptions covering the test data. ,[object Object],[Alma3, ?, ?, ?] [?, ?, Monday,?] [Alma3, ?, Monday, cheap] [Alma3, ?, ?, cheap] [?, ?, Monday, cheap] [Alma3, ?, Monday, ?] VS makes NO unnecessary choices !
Termination (2): ,[object Object],[object Object],[object Object],[object Object],[Alma3, breakfast, ?, cheap]    [Alma3, lunch, ?, cheap] <Alma3, dinner, Sunday, cheap>  - <Alma3, breakfast, Sunday, cheap>  + <Alma3, lunch, Sunday, cheap>  + ,[object Object],[object Object],[object Object],[object Object]
Which example next? ,[object Object],[object Object],[object Object],<Alma3,lunch,Monday, expensive >   [Alma3, ?, ?, ?] [?, ?, Monday,?] [Alma3, ?, Monday, cheap] [Alma3, ?, ?, cheap] [?, ?, Monday, cheap] [Alma3, ?, Monday, ?] classified negative by 3 hypotheses classified positive by 3 hypotheses is the most informative new example
Use of partially learned concepts: ,[object Object],[Alma3, ?, ?, ?] [?, ?, Monday,?] [Alma3, ?, Monday, cheap] [Alma3, ?, ?, cheap] [?, ?, Monday, cheap] [Alma3, ?, Monday, ?] ,[object Object],[object Object],[object Object]
Use of partially learned concepts (2): ,[object Object],[Alma3, ?, ?, ?] [?, ?, Monday,?] [Alma3, ?, Monday, cheap] [Alma3, ?, ?, cheap] [?, ?, Monday, cheap] [Alma3, ?, Monday, ?] ,[object Object],[object Object],[object Object]
Use of partially learned concepts (3): ,[object Object],[Alma3, ?, ?, ?] [?, ?, Monday,?] [Alma3, ?, Monday, cheap] [Alma3, ?, ?, cheap] [?, ?, Monday, cheap] [Alma3, ?, Monday, ?] ,[object Object],[object Object],[object Object]
Use of partially learned concepts (4): ,[object Object],[Alma3, ?, ?, ?] [?, ?, Monday,?] [Alma3, ?, Monday, cheap] [Alma3, ?, ?, cheap] [?, ?, Monday, cheap] [Alma3, ?, Monday, ?] probably does not belong to the concept : ratio : 1/6 ,[object Object],[object Object]
The relevance of inductive BIAS: choosing H ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inductive BIAS (2): ,[object Object],[object Object],[object Object],Restaurant Meal Day Cost    3  X  3  X  7  X  2  =  126
Inductive BIAS (3) ,[object Object],Restaurant Meal Day Cost    Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - ?  {~[DeMoete. Lunch, Friday, expensive]    ~[Sedes, breakfast, Sunday, cheap]} {~[DeMoete. Lunch, Friday, expensive]    ~[Sedes, breakfast, Sunday, cheap]      ~[Alma 3, breakfast, Sunday, expensive]} {~[DeMoete. Lunch, Friday, expensive]} {[Alma 3, breakfast, Friday, cheap]   [Alma 3, lunch, Saturday, cheap]} {[Alma 3, breakfast, Friday, cheap]}
Inductive BIAS (3) ,[object Object],[object Object],[object Object],G = {~[DeMoete. Lunch, Friday, expensive]     ~[Sedes, breakfast, Sunday, cheap]    ~[Alma 3, breakfast, Sunday, expensive]} S = {[Alma 3, breakfast, Friday, cheap]    [Alma 3, lunch, Saturday, cheap]} ,[object Object],[object Object]
Shift of Bias ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Más contenido relacionado

La actualidad más candente

Data cube computation
Data cube computationData cube computation
Data cube computation
Rashmi Sheikh
 
Computational Learning Theory
Computational Learning TheoryComputational Learning Theory
Computational Learning Theory
butest
 

La actualidad más candente (20)

Introdution and designing a learning system
Introdution and designing a learning systemIntrodution and designing a learning system
Introdution and designing a learning system
 
Concept learning
Concept learningConcept learning
Concept learning
 
Chapter 4 (final)
Chapter 4 (final)Chapter 4 (final)
Chapter 4 (final)
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
Artificial Intelligence - Reasoning in Uncertain Situations
Artificial Intelligence - Reasoning in Uncertain SituationsArtificial Intelligence - Reasoning in Uncertain Situations
Artificial Intelligence - Reasoning in Uncertain Situations
 
3. mining frequent patterns
3. mining frequent patterns3. mining frequent patterns
3. mining frequent patterns
 
Machine learning Lecture 2
Machine learning Lecture 2Machine learning Lecture 2
Machine learning Lecture 2
 
Semantic nets in artificial intelligence
Semantic nets in artificial intelligenceSemantic nets in artificial intelligence
Semantic nets in artificial intelligence
 
Evaluating hypothesis
Evaluating  hypothesisEvaluating  hypothesis
Evaluating hypothesis
 
Hidden markov model ppt
Hidden markov model pptHidden markov model ppt
Hidden markov model ppt
 
Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}Heuristic Search Techniques {Artificial Intelligence}
Heuristic Search Techniques {Artificial Intelligence}
 
Vc dimension in Machine Learning
Vc dimension in Machine LearningVc dimension in Machine Learning
Vc dimension in Machine Learning
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANN
 
Data cube computation
Data cube computationData cube computation
Data cube computation
 
Back propagation
Back propagationBack propagation
Back propagation
 
Computational Learning Theory
Computational Learning TheoryComputational Learning Theory
Computational Learning Theory
 
Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
 
2.3 bayesian classification
2.3 bayesian classification2.3 bayesian classification
2.3 bayesian classification
 
Inductive bias
Inductive biasInductive bias
Inductive bias
 

Destacado

Blandings Turtle by Anthony
Blandings Turtle by AnthonyBlandings Turtle by Anthony
Blandings Turtle by Anthony
vebrya
 
Kulturkartläggnings processen
Kulturkartläggnings  processenKulturkartläggnings  processen
Kulturkartläggnings processen
Lina Ydrefelt
 
Chap 6 Constitution Review
Chap 6 Constitution ReviewChap 6 Constitution Review
Chap 6 Constitution Review
jeffreymartin
 
E Learning at the MGSoG
E Learning at the MGSoGE Learning at the MGSoG
E Learning at the MGSoG
Martin Rehm
 
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
Hendrik Drachsler
 

Destacado (20)

Blandings Turtle by Anthony
Blandings Turtle by AnthonyBlandings Turtle by Anthony
Blandings Turtle by Anthony
 
Procesamiento de Lenguaje Natural, Python y NLTK
Procesamiento de Lenguaje Natural, Python y NLTKProcesamiento de Lenguaje Natural, Python y NLTK
Procesamiento de Lenguaje Natural, Python y NLTK
 
Machine Learning: Artificial Intelligence isn't just a Science Fiction topic
Machine Learning: Artificial Intelligence isn't just a Science Fiction topicMachine Learning: Artificial Intelligence isn't just a Science Fiction topic
Machine Learning: Artificial Intelligence isn't just a Science Fiction topic
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Kulturkartläggnings processen
Kulturkartläggnings  processenKulturkartläggnings  processen
Kulturkartläggnings processen
 
User-tailored Inter-Widget Communication Extending the Shared Data Interface ...
User-tailored Inter-Widget Communication Extending the Shared Data Interface ...User-tailored Inter-Widget Communication Extending the Shared Data Interface ...
User-tailored Inter-Widget Communication Extending the Shared Data Interface ...
 
Chap 6 Constitution Review
Chap 6 Constitution ReviewChap 6 Constitution Review
Chap 6 Constitution Review
 
Phoenix Grid Alternatives Solar Rehabilitation Presentation
Phoenix   Grid Alternatives Solar Rehabilitation PresentationPhoenix   Grid Alternatives Solar Rehabilitation Presentation
Phoenix Grid Alternatives Solar Rehabilitation Presentation
 
E Learning at the MGSoG
E Learning at the MGSoGE Learning at the MGSoG
E Learning at the MGSoG
 
Web 2.0 for Learning
Web 2.0 for LearningWeb 2.0 for Learning
Web 2.0 for Learning
 
Maria
MariaMaria
Maria
 
First Grade ExploreOrrs
First Grade ExploreOrrsFirst Grade ExploreOrrs
First Grade ExploreOrrs
 
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
CfP dataTEL SI at Journal IJTEL deadline 25.10.2011
 
Gençlik Danışmanlık ve Sağlık Hizmeti Merkezi
Gençlik Danışmanlık ve Sağlık Hizmeti MerkeziGençlik Danışmanlık ve Sağlık Hizmeti Merkezi
Gençlik Danışmanlık ve Sağlık Hizmeti Merkezi
 
Mobile Showcase Moblin2
Mobile Showcase Moblin2Mobile Showcase Moblin2
Mobile Showcase Moblin2
 
The changing landscape, a personal view for OER Wales
The changing landscape, a personal view for OER WalesThe changing landscape, a personal view for OER Wales
The changing landscape, a personal view for OER Wales
 
Camiño Inglés en Vilar Do Colo
Camiño Inglés en Vilar Do ColoCamiño Inglés en Vilar Do Colo
Camiño Inglés en Vilar Do Colo
 
Web Service on SSD
Web Service on SSDWeb Service on SSD
Web Service on SSD
 
Unit 1.1 Introduction to Programming
Unit 1.1 Introduction to Programming Unit 1.1 Introduction to Programming
Unit 1.1 Introduction to Programming
 
M02 un07 p01
M02 un07 p01M02 un07 p01
M02 un07 p01
 

Similar a Version spaces (11)

concept-learning.ppt
concept-learning.pptconcept-learning.ppt
concept-learning.ppt
 
Poggi analytics - concepts - 1a
Poggi   analytics - concepts - 1aPoggi   analytics - concepts - 1a
Poggi analytics - concepts - 1a
 
concept-learning of artificial intelligence
concept-learning of artificial intelligenceconcept-learning of artificial intelligence
concept-learning of artificial intelligence
 
ML_Unit_1_Part_B
ML_Unit_1_Part_BML_Unit_1_Part_B
ML_Unit_1_Part_B
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lec 17
Lec  17Lec  17
Lec 17
 
artificial intelligence.pptx
artificial intelligence.pptxartificial intelligence.pptx
artificial intelligence.pptx
 
Cs229 notes4
Cs229 notes4Cs229 notes4
Cs229 notes4
 
Bayesian Learning- part of machine learning
Bayesian Learning-  part of machine learningBayesian Learning-  part of machine learning
Bayesian Learning- part of machine learning
 
ML02.ppt
ML02.pptML02.ppt
ML02.ppt
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Version spaces

  • 1. Machine Learning Version Spaces Learning
  • 2.
  • 3. Version Spaces A concept learning technique based on refining models of the world.
  • 4.
  • 5.
  • 6. Pictured: Set of all possible events                                   Given some examples: + + + + - - - - Find a concept that covers all the positive examples and none of the negative ones!
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Hypotheses relate to sets of possible events       Events    x2      x1 x1 = < Alma 3, lunch, Monday, expensive> x2 = < Sedes, lunch, Sunday, cheap> h1 = [?, lunch, Monday, ?] h2 = [?, lunch, ?, cheap] h3 = [?, lunch, ?, ?] General Specific                 Hypotheses h2 h3 h1
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. The inductive learning hypothesis: If a hypothesis approximates the target function well over a sufficiently large number of examples , then the hypothesis will also approximate the target function well on other unobserved examples .
  • 20. Find-S: a naïve algorithm Replace h by a minimal generalization of h that covers x Return h Initialize : h :=  For each positive training example x in D Do: If h does not cover x :
  • 21. Reaction example: minimal generalizations = the individual events Generalization = replace something by ? no more positive examples: return h Restaurant Meal Day Cost Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - Initially: h =  Example 1: h = [Alma 3,breakfast,Friday,cheap]  Example 2: h = [Alma 3, ? , ? ,cheap] 
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Dual Find-S: Initialize : h := [ ?, ?, .., ?] For each negative training example x in D Do: If h does cover x : Replace h by a minimal specialization of h that does not cover x Return h
  • 27. Reaction example: Restaurant Meal Day Cost Reaction Alma 3 breakfast Friday cheap Yes De Moete lunch Friday expensive No Alma 3 lunch Saturday cheap Yes Sedes breakfast Sunday cheap No Alma 3 breakfast Sunday expensive No + - + - - Initially: h = [ ?, ?, ?, ?] Example 1:  h= [ ?, breakfast, ?, ?] Example 2:  h= [ Alma 3, breakfast, ?, ?] Example 3:  h= [ Alma 3, breakfast, ?, cheap]
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. Result after example 2: [ ?, ?, ?, ?]  [Alma3, breakfast, Friday, cheap] [ Alma3 , ?, ?, ?] [?, breakfast , ?, ?] [?, ?, ?, cheap ]
  • 44.
  • 45.
  • 46.
  • 47. Version Space Algorithm: Generalize all hypotheses in S that do not cover the example yet, but ensure the following: - Only introduce minimal changes on the hypotheses. - Each new specific hypothesis is a specialization of some general hypothesis . - No new specific hypothesis is a generalization of some other specific hypothesis . Prune away all hypotheses in G that do not cover the example. Initially : G := { the hypothesis that covers everything} S := {  } For each new positive example:
  • 48. Version Space Algorithm (2): Specialize all hypotheses in G that cover the example, but ensure the following: - Only introduce minimal changes on the hypotheses. - Each new general hypothesis is a generalization of some specific hypothesis . - No new general hypothesis is a specialization of some other general hypothesis . Prune away all hypotheses in S that cover the example. Until there are no more examples: report S and G OR S or G become empty : report failure . . . For each new negative example:
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.