SlideShare uma empresa Scribd logo
1 de 23
DEPARTMENT OF CS &IT
KNOWLEDGE IN LEARNING
PRESENTED BY:
S.SABTHAMI
I.MSC(IT)
Nadar saraswathi college of arts and science
A logical formulation of learning
 What’re Goal and Hypotheses
 Goal predicate Q - WillWait
 Learning is to find an equivalent logical
expression we can classify examples
 Each hypothesis proposes such an
expression - a candidate definition of Q
 r WillWait(r) Pat(r,Some) 
Pat(r,Full) Hungry(r)Type(r,French) 
A logical formulation of learning
 Hypothesis space is the set of all hypotheses
the learning algorithm is designed to
entertain.
 One of the hypotheses is correct:
H1 V H2 V…V Hn
 Each Hi predicts a certain set of examples -
the extension of the goal predicate.
 Two hypotheses with different extensions
are logically inconsistent with each other,
otherwise, they are logically equivalent.
Examples
 An example is an object of some logical
description to which the goal concept may
or may not apply.
 Alt(X1)^!Bar(X1)^!Fri/Sat(X1)^…
 Ideally, we want to find a hypothesis that
agrees with all the examples.
 The relation between f and h are: ++, --, +-
(false negative), -+ (false positive). If the
last two occur, example I and h are logically
inconsistent.
Current-best hypothesis search
 Maintain a single hypothesis
 Adjust it as new examples arrive to maintain
consistency
Generalization
Specialization
Example of WillWait
 Problems: nondeterministic, no
guarantee for simplest and
correct h, need backtrack
Least-commitment search
 Keeping only one h as its best guess is the
problem -> Can we keep as many as
possible?
 Version space (candidate elimination)
Algorithm
 incremental
 least-commitment
Least-commitment search
 From intervals to boundary sets
 G-set and S-set
 S0 – the most specific set contains nothing <0,0,…,0>
 G0 – the most general set covers everything <?,?,…,?>
 Everything between is guaranteed to be
consistent with examples.
 VS tries to generalize S0 and specialize G0
incrementally
Version space
 Generalization and specialization
 find d-sets that contain only true/+, and true/-;
 Sj can only be generalized and Gj can only be specialized
 False positive for Si, too general, discard it
 False negative for Si, too specific, generalize it minimally
 False positive for Gi, too general, specialize it minimally
 False negative for Gi, too specific, discard it
Version space
 When to stop
 One concept left (Si = Gi)
 The version space collapses (G is more special than S, or..)
 Run out of examples
 An example with 4 instances from Tom Mitchell’s
book
 One major problem: can’t handle noise
Using prior knowledge
 For DT and logical description learning, we
assume no prior knowledge
 We do have some prior knowledge, so how
can we use it?
 We need a logical formulation as opposed to
the function learning.
Inductive learning in the logical setting
 The objective is to find a hypothesis that
explains the classifications of the examples,
given their descriptions.
Hypothesis ^ Description |= Classifications
 Hypothesis is unknown, explains the
observations
 Descriptions - the conjunction of all the example
descriptions
 Classifications - the conjunction of all the
example classifications
 Knowledge free learning
 Decision trees
 Description = Classifications
A procecumulative learning ss
 Observations, K-based learning,
Hypotheses, and prior knowledge
 The new approach is to design agents that
already know something and are trying to
learn some more.
 Intuitively, this should be faster and better
than without using knowledge, assuming
what’s known is always correct.
Some examples of using knowledge
 One can leap to general conclusions after
only one observation.
 Your such experience?
 Traveling to Brazil: Language and name
 A pharmacologically ignorant but
diagnostically sophisticated medical
student …
Some general schemes
 Explanation-based learning (EBL)
 Hypothesis^Description |= Classifications
 Background |= Hypothesis
 doesn’t learn anything factually new from instance
 Relevance-based learning (RBL)
 Hypothesis^Descriptions |= Classifications
 Background^Descrip’s^Class |= Hypothesis
 deductive in nature
 Knowledge-based inductive learning (KBIL)
 Background^Hypothesis^Descrip’s |=
Classifications
Inductive logical programming (ILP)
 ILP can formulate hypotheses in general
first-order logic
 Others like DT are more restricted languages
 Prior knowledge is used to reduce the
complexity of learning:
 prior knowledge further reduces the H space
 prior knowledge helps find the shorter H
 Again, assuming prior knowledge is correct
Explanation-based learning
 A method to extract general rules from individual
observations
 The goal is to solve a similar problem faster next
time.
 Memoization - speed up by saving results and
avoiding solving a problem from scratch
 EBL does it one step further - from observations to
rules
Basic EBL
 Given an example, construct a proof tree using the
background knowledge
 In parallel, construct a generalized proof tree for
the variabilized goal
 Construct a new rule (leaves => the root)
 Drop any conditions that are true regardless of the
variables in the goal
Efficiency of EBL
 Choosing a general rule
 too many rules -> slow inference
 aim for gain - significant increase in speed
 as general as possible
 Operationality - A subgoal is operational means it is
easy to solve
 Trade-off between Operationality and Generality
 Empirical analysis of efficiency in EBL
Learning using relevant information
 Prior knowledge: People in a country
usually speak the same language
Nat(x,n) ^Nat(y,n)^Lang(x,l)=>Lang(y,l)
 Observation: Given nationality, language is
fully determined
 Given Fernando is Brazilian & speaks Portuguese
Nat(Fernando,B) ^ Lang(Fernando,P)
 We can logically conclude
Nat(y,B) => Lang(y,P)
Functional dependencies
 We have seen a form of relevance:
determination - language (Portuguese) is a
function of nationality (Brazil)
 Determination is really a relationship
between the predicates
 The corresponding generalization follows
logically from the determinations and
descriptions.
Functional dependencies
 Determinations specify a sufficient basis
vocabulary from which to construct hypotheses
concerning the target predicate.
 A reduction in the H space size should make it
easier to learn the target predicate
artificial intelligence.pptx

Mais conteúdo relacionado

Semelhante a artificial intelligence.pptx

MACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEMACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEDrBindhuM
 
Learning Agents by Prof G. Tecuci
Learning Agents by Prof G. TecuciLearning Agents by Prof G. Tecuci
Learning Agents by Prof G. Tecucibutest
 
Learning Agents by Prof G. Tecuci
Learning Agents by Prof G. TecuciLearning Agents by Prof G. Tecuci
Learning Agents by Prof G. Tecucibutest
 
Machine Learning
Machine LearningMachine Learning
Machine Learningbutest
 
Net set logical reasoning - Critical Thinking
Net set logical reasoning - Critical Thinking  Net set logical reasoning - Critical Thinking
Net set logical reasoning - Critical Thinking amitkuls
 
Bloom taxonomy dr shafqat ali
Bloom taxonomy  dr shafqat aliBloom taxonomy  dr shafqat ali
Bloom taxonomy dr shafqat aliAmina Tariq
 
GDSC SSN - solution Challenge : Fundamentals of Decision Making
GDSC SSN - solution Challenge : Fundamentals of Decision MakingGDSC SSN - solution Challenge : Fundamentals of Decision Making
GDSC SSN - solution Challenge : Fundamentals of Decision MakingGDSCSSN
 
Learning sets of rules, Sequential Learning Algorithm,FOIL
Learning sets of rules, Sequential Learning Algorithm,FOILLearning sets of rules, Sequential Learning Algorithm,FOIL
Learning sets of rules, Sequential Learning Algorithm,FOILPavithra Thippanaik
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learningbutest
 
Introduction to prolog
Introduction to prologIntroduction to prolog
Introduction to prologRakhi Sinha
 
Fasttext 20170720 yjy
Fasttext 20170720 yjyFasttext 20170720 yjy
Fasttext 20170720 yjy재연 윤
 
Generalization abstraction
Generalization abstractionGeneralization abstraction
Generalization abstractionEdward Blurock
 
Supervised Corpus-based Methods for Word Sense Disambiguation
Supervised Corpus-based Methods for Word Sense DisambiguationSupervised Corpus-based Methods for Word Sense Disambiguation
Supervised Corpus-based Methods for Word Sense Disambiguationbutest
 
Cs229 notes4
Cs229 notes4Cs229 notes4
Cs229 notes4VuTran231
 
LECTURE8.PPT
LECTURE8.PPTLECTURE8.PPT
LECTURE8.PPTbutest
 

Semelhante a artificial intelligence.pptx (20)

MACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULEMACHINE LEARNING-LEARNING RULE
MACHINE LEARNING-LEARNING RULE
 
Learning Agents by Prof G. Tecuci
Learning Agents by Prof G. TecuciLearning Agents by Prof G. Tecuci
Learning Agents by Prof G. Tecuci
 
Learning Agents by Prof G. Tecuci
Learning Agents by Prof G. TecuciLearning Agents by Prof G. Tecuci
Learning Agents by Prof G. Tecuci
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Net set logical reasoning - Critical Thinking
Net set logical reasoning - Critical Thinking  Net set logical reasoning - Critical Thinking
Net set logical reasoning - Critical Thinking
 
Learning
LearningLearning
Learning
 
Bloom taxonomy dr shafqat ali
Bloom taxonomy  dr shafqat aliBloom taxonomy  dr shafqat ali
Bloom taxonomy dr shafqat ali
 
.ppt
.ppt.ppt
.ppt
 
GDSC SSN - solution Challenge : Fundamentals of Decision Making
GDSC SSN - solution Challenge : Fundamentals of Decision MakingGDSC SSN - solution Challenge : Fundamentals of Decision Making
GDSC SSN - solution Challenge : Fundamentals of Decision Making
 
ppt
pptppt
ppt
 
Learning sets of rules, Sequential Learning Algorithm,FOIL
Learning sets of rules, Sequential Learning Algorithm,FOILLearning sets of rules, Sequential Learning Algorithm,FOIL
Learning sets of rules, Sequential Learning Algorithm,FOIL
 
ML02.ppt
ML02.pptML02.ppt
ML02.ppt
 
WritingGuidance
WritingGuidanceWritingGuidance
WritingGuidance
 
Introduction to machine learning
Introduction to machine learningIntroduction to machine learning
Introduction to machine learning
 
Introduction to prolog
Introduction to prologIntroduction to prolog
Introduction to prolog
 
Fasttext 20170720 yjy
Fasttext 20170720 yjyFasttext 20170720 yjy
Fasttext 20170720 yjy
 
Generalization abstraction
Generalization abstractionGeneralization abstraction
Generalization abstraction
 
Supervised Corpus-based Methods for Word Sense Disambiguation
Supervised Corpus-based Methods for Word Sense DisambiguationSupervised Corpus-based Methods for Word Sense Disambiguation
Supervised Corpus-based Methods for Word Sense Disambiguation
 
Cs229 notes4
Cs229 notes4Cs229 notes4
Cs229 notes4
 
LECTURE8.PPT
LECTURE8.PPTLECTURE8.PPT
LECTURE8.PPT
 

Mais de SabthamiS1

women%20empowerment11.pptx
women%20empowerment11.pptxwomen%20empowerment11.pptx
women%20empowerment11.pptxSabthamiS1
 
big data analytics.pptx
big data analytics.pptxbig data analytics.pptx
big data analytics.pptxSabthamiS1
 
Data minig.pptx
Data minig.pptxData minig.pptx
Data minig.pptxSabthamiS1
 
distributed computing.pptx
distributed computing.pptxdistributed computing.pptx
distributed computing.pptxSabthamiS1
 
Network and internet security
Network and internet security Network and internet security
Network and internet security SabthamiS1
 
Advance computer architecture
Advance computer architecture Advance computer architecture
Advance computer architecture SabthamiS1
 
Data structure and algorithm
Data structure and algorithmData structure and algorithm
Data structure and algorithmSabthamiS1
 

Mais de SabthamiS1 (12)

women%20empowerment11.pptx
women%20empowerment11.pptxwomen%20empowerment11.pptx
women%20empowerment11.pptx
 
big data analytics.pptx
big data analytics.pptxbig data analytics.pptx
big data analytics.pptx
 
iot.pptx
iot.pptxiot.pptx
iot.pptx
 
dip.pptx
dip.pptxdip.pptx
dip.pptx
 
csc.pptx
csc.pptxcsc.pptx
csc.pptx
 
python.pptx
python.pptxpython.pptx
python.pptx
 
Data minig.pptx
Data minig.pptxData minig.pptx
Data minig.pptx
 
distributed computing.pptx
distributed computing.pptxdistributed computing.pptx
distributed computing.pptx
 
Network and internet security
Network and internet security Network and internet security
Network and internet security
 
Java
Java Java
Java
 
Advance computer architecture
Advance computer architecture Advance computer architecture
Advance computer architecture
 
Data structure and algorithm
Data structure and algorithmData structure and algorithm
Data structure and algorithm
 

Último

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 

Último (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

artificial intelligence.pptx

  • 1. DEPARTMENT OF CS &IT KNOWLEDGE IN LEARNING PRESENTED BY: S.SABTHAMI I.MSC(IT) Nadar saraswathi college of arts and science
  • 2. A logical formulation of learning  What’re Goal and Hypotheses  Goal predicate Q - WillWait  Learning is to find an equivalent logical expression we can classify examples  Each hypothesis proposes such an expression - a candidate definition of Q  r WillWait(r) Pat(r,Some)  Pat(r,Full) Hungry(r)Type(r,French) 
  • 3. A logical formulation of learning  Hypothesis space is the set of all hypotheses the learning algorithm is designed to entertain.  One of the hypotheses is correct: H1 V H2 V…V Hn  Each Hi predicts a certain set of examples - the extension of the goal predicate.  Two hypotheses with different extensions are logically inconsistent with each other, otherwise, they are logically equivalent.
  • 4. Examples  An example is an object of some logical description to which the goal concept may or may not apply.  Alt(X1)^!Bar(X1)^!Fri/Sat(X1)^…  Ideally, we want to find a hypothesis that agrees with all the examples.  The relation between f and h are: ++, --, +- (false negative), -+ (false positive). If the last two occur, example I and h are logically inconsistent.
  • 5. Current-best hypothesis search  Maintain a single hypothesis  Adjust it as new examples arrive to maintain consistency Generalization Specialization
  • 6. Example of WillWait  Problems: nondeterministic, no guarantee for simplest and correct h, need backtrack
  • 7. Least-commitment search  Keeping only one h as its best guess is the problem -> Can we keep as many as possible?  Version space (candidate elimination) Algorithm  incremental  least-commitment
  • 8. Least-commitment search  From intervals to boundary sets  G-set and S-set  S0 – the most specific set contains nothing <0,0,…,0>  G0 – the most general set covers everything <?,?,…,?>  Everything between is guaranteed to be consistent with examples.  VS tries to generalize S0 and specialize G0 incrementally
  • 9. Version space  Generalization and specialization  find d-sets that contain only true/+, and true/-;  Sj can only be generalized and Gj can only be specialized  False positive for Si, too general, discard it  False negative for Si, too specific, generalize it minimally  False positive for Gi, too general, specialize it minimally  False negative for Gi, too specific, discard it
  • 10. Version space  When to stop  One concept left (Si = Gi)  The version space collapses (G is more special than S, or..)  Run out of examples  An example with 4 instances from Tom Mitchell’s book  One major problem: can’t handle noise
  • 11. Using prior knowledge  For DT and logical description learning, we assume no prior knowledge  We do have some prior knowledge, so how can we use it?  We need a logical formulation as opposed to the function learning.
  • 12. Inductive learning in the logical setting  The objective is to find a hypothesis that explains the classifications of the examples, given their descriptions. Hypothesis ^ Description |= Classifications  Hypothesis is unknown, explains the observations  Descriptions - the conjunction of all the example descriptions  Classifications - the conjunction of all the example classifications  Knowledge free learning  Decision trees  Description = Classifications
  • 13. A procecumulative learning ss  Observations, K-based learning, Hypotheses, and prior knowledge  The new approach is to design agents that already know something and are trying to learn some more.  Intuitively, this should be faster and better than without using knowledge, assuming what’s known is always correct.
  • 14. Some examples of using knowledge  One can leap to general conclusions after only one observation.  Your such experience?  Traveling to Brazil: Language and name  A pharmacologically ignorant but diagnostically sophisticated medical student …
  • 15. Some general schemes  Explanation-based learning (EBL)  Hypothesis^Description |= Classifications  Background |= Hypothesis  doesn’t learn anything factually new from instance  Relevance-based learning (RBL)  Hypothesis^Descriptions |= Classifications  Background^Descrip’s^Class |= Hypothesis  deductive in nature  Knowledge-based inductive learning (KBIL)  Background^Hypothesis^Descrip’s |= Classifications
  • 16. Inductive logical programming (ILP)  ILP can formulate hypotheses in general first-order logic  Others like DT are more restricted languages  Prior knowledge is used to reduce the complexity of learning:  prior knowledge further reduces the H space  prior knowledge helps find the shorter H  Again, assuming prior knowledge is correct
  • 17. Explanation-based learning  A method to extract general rules from individual observations  The goal is to solve a similar problem faster next time.  Memoization - speed up by saving results and avoiding solving a problem from scratch  EBL does it one step further - from observations to rules
  • 18. Basic EBL  Given an example, construct a proof tree using the background knowledge  In parallel, construct a generalized proof tree for the variabilized goal  Construct a new rule (leaves => the root)  Drop any conditions that are true regardless of the variables in the goal
  • 19. Efficiency of EBL  Choosing a general rule  too many rules -> slow inference  aim for gain - significant increase in speed  as general as possible  Operationality - A subgoal is operational means it is easy to solve  Trade-off between Operationality and Generality  Empirical analysis of efficiency in EBL
  • 20. Learning using relevant information  Prior knowledge: People in a country usually speak the same language Nat(x,n) ^Nat(y,n)^Lang(x,l)=>Lang(y,l)  Observation: Given nationality, language is fully determined  Given Fernando is Brazilian & speaks Portuguese Nat(Fernando,B) ^ Lang(Fernando,P)  We can logically conclude Nat(y,B) => Lang(y,P)
  • 21. Functional dependencies  We have seen a form of relevance: determination - language (Portuguese) is a function of nationality (Brazil)  Determination is really a relationship between the predicates  The corresponding generalization follows logically from the determinations and descriptions.
  • 22. Functional dependencies  Determinations specify a sufficient basis vocabulary from which to construct hypotheses concerning the target predicate.  A reduction in the H space size should make it easier to learn the target predicate