SlideShare a Scribd company logo
1 of 33
Download to read offline
Prof. K. Adisesha
Introduction
A Framework for Symbol-Based Learning
Version Space Search
• The Candidate Elimination Algorithm
ID3 Decision Tree Induction Algorithm
Knowledge and Learning
• Explanation-Based Learning
Unsupervised Learning
• Conceptual clustering
Machine Learning 2
• Learning
• through the course of their interactions with the world
• through the experience of their own internal states and processes
• Is important for practical applications of AI
• Knowledge engineering bottleneck
• major obstacle to the widespread use of intelligent systems
• the cost and difficulty of building expert systems using traditional
knowledge acquisition techniques
• one solution
 For program to begin with a minimal amount of knowledge
 And learn from examples, high-level advice, own explorations of
the domain
Machine Learning 3
• Definition of learning
• Views of Learning
• Generalization from experience
 Induction: must generalize correctly to unseen instances of domain
 Inductive biases: selection criteria (must select the most effective
aspects of their experience)
• Changes in the learner
 acquisition of explicitly represented domain knowledge, based on
its experience, the learner constructs or modifies expressions in a
formal language (e.g. logic).
Machine Learning 4
Any change in a system that allow it to perform better the second
time on repetition of the same task or on another task drawn form
the same population (Simon, 1983)
• Learning Algorithms vary in
• goals, available training data, learning strategies and knowledge
representation languages
• All algorithms learn by searching through a space of possible
concepts to find an acceptable generalization (concept space Fig. 9.5)
• Inductive learning
• learning a generalization from a set of examples
• concept learning is a typical inductive learning
 infer a definition from given examples of some concept (e.g. cat, soybean
disease)
 allow to correctly recognize future instances of that concept
 Two algorithms: version space search and ID3
Machine Learning 5
• Similarity-based vs. Explanation-based
• Similarity-based (data-driven)
 using no prior knowledge of the domain
 rely on large numbers of examples
 generalization on the basis of patterns in training data
• Explanation-based Learning(prior knowledge-driven)
 using prior knowledge of the domain to guide generalization
 learning by analogy and other technology that utilize prior knowledge
to learn from a limited amount of training data
Machine Learning 6
Supervised vs. Unsupervised
• supervised learning
 learning from training instances of known classification
• unsupervised learning
 learning from unclassified training data
 conceptual clustering or category formation
Machine Learning 7
• Learning Algorithms are characterized by a general
model
• Data and goals of the learning task
• Representation Language
• A set of operations
• Concept space
• Heuristic Search
• Acquired knowledge
Machine Learning 8
Machine Learning 9
• Data and Goals
• Type of data
 positive or negative examples
 Single positive example and domain specific knowledge
 high-level advice (e.g. condition of loop termination)
 analogies(e.g. electricity vs. water)
• Goal of Learning algorithms: acquisition of
 concept, general description of a class of objects
 plans
 problem-solving heuristics
 other forms of procedural knowledge
• Properties and quality of data
 come from the outside environment (e.g. teacher)
or generated by the program itself
 reliable or contain noise
 well-structured or unorganized
 positive and negative or only positive
Machine Learning 10
Machine Learning 11
Concept
learning
Explanation-
based
Clustering
Data Positive/negative
examplesofa
targetclass
Atrainingexample
+
priorknowledge
Asetof
unclassified
instances
Goal Toinfer ageneral
definition
To infer a general
concept
Todiscover
categorizations
• Representation of learned knowledge
• concept expressions in predicate calculus
 A simple formulation of the concept learning problem as conjunctive
sentences containing variables
• structured representation such as frames
• description of plans as a sequence of operations or triangle table
• representation of heuristics as problem-solving rules
Machine Learning 12
size(obj1, small) ^ color(obj1, red) ^ shape(obj1, round)
size(obj2, large) ^ color(obj2, red) ^ shape(obj2, round)
=> size(X, Y) ^ color(X, red) ^ shape(X, round)
• A Set of operations
• Given a set of training instances, the leaner must construct a generalization,
heuristic rule, or plan that satisfies its goal
• Requires ability to manipulate representations
• Typical operations include
 generalizing or specializing symbolic expressions
 adjusting the weights in a neural network
 modifying the program’s representations
• Concept space
• defines a space of potential concept definitions
• complexity of potential concept space is a measure of difficulty of learning
algorithms
Machine Learning 13
• Heuristic Search
• Use available training data and heuristics to search efficiently
• Patrick Winston’s work on learning concepts from positive and negative
examples along with near misses (Fig. 2).
• The program learns by refining candidate description of the target concept
through generalization and specialization.
 Generalization changes the candidate description to let it accommodate
new positive examples (Fig. 3)
 Specialization changes the candidate description to exclude near misses
(Fig. 4)
 Performance of learning algorithm is highly sensitive to the quality and
order of the training examples
Machine Learning 14
Machine Learning 15
Machine Learning 16
Machine Learning 17
Machine Learning 18
• Implementation of inductive learning as search through
a concept space
• Generalization operations impose an ordering on the
concepts in a space, and uses this ordering to guide the
search
• 2.1 Generalization Operators and Concept Space
• 2.2 Candidate Elimination Algorithm
Machine Learning 19
• Primary generalization operations used in ML
• Replacing constants with variables
 color(ball, red) -> color(X, red)
• Dropping conditions from a conjunctive expression
 shape(X, round) ^ size(X, small) ^ color(X, red)
-> shape(X, round) ^ color(X, red)
• Adding a disjunct to an expression
 shape(X, round) ^ size(X, small) ^ color(X, red)
-> shape(X, round) ^ size(X, small) ^ (color(X, red)  color(X, blue))
• Replacing a property with its parent in a class hierarchy
 color(X, red)
-> color(X, primary_color) if primary_color is superclass of red
Machine Learning 20
• Notion of covering
• If concept P is more general than concept Q, we say that
“P covers Q”
• Color(X,Y) covers color(ball,Y), which in turn covers color(ball,red)
• Concept space
• Defines a space of potential concept definitions
• The example concept space representing the
predicate obj(Sizes, Color, Shapes) with properties and values
 Sizes = {large, small}
 Colors = {red, white, blue}
 Shapes = {ball, brick, cube}
is presented in Fig. 5
Machine Learning 21
Machine Learning 22
• Version space: the set of all concept descriptions consistent
with the training examples.
• Toward reducing the size of the version space as more
examples become available (Fig. 9.10)
• Specific to general search from positive examples
• General to specific search from negative examples
• Candidate elimination algorithm combines these into a bi-directional
search
• Generalize based on regularities found in the training data
• Supervised learning
Machine Learning 23
• The learned concept must be general enough to cover all positive
examples, also must be specific enough to exclude all negative
examples
• maximally specific generalization
• Maximally general specialization
Machine Learning 24
A concept c, is maximally specific if it covers all positive examples,
none of the negative examples, and for any concept c’, that covers
the positive examples, c  c’
A concept c, is maximally general if it covers none of the negative
training instances, and for any other concept c’, that covers no
negative training instance, c  c’.
Machine Learning 25
Machine Learning 26
Machine Learning 27
Machine Learning 28
Machine Learning 29
Begin
Initialize G to the most general concept in the space;
Initialize S to the first positive training instance;
For each new positive instance p
Begin
Delete all members of G that fail to match p;
For every s in S, if s does not match p, replace s with its most specific generalizations that match p and are
more specific than some members of G;
Delete from S any hypothesis more general than some other hypothesis in S;
End;
For each new negative instance n
Begin
Delete all members of S that match n;
For each g in G that matches n, replace g with its most general specializations that do not match n and are
more general than some members of S;
Delete from G any hypothesis more specific than some other hypothesis in G;
End
Machine Learning 30
• Combining the two directions of search into a single
algorithm has several benefits.
• G and S sets summarizes the information in the negative and positive
training instances.
• Fig. 9 gives an abstract description of the candidate
elimination algorithm.
• “+” signs represent positive instances
• “-” signs indicate negative instances
• The search “shrinks” the outermost concept to exclude negative instances
• The search “expands” the innermost concept to include new positive
instances
Machine Learning 31
• An incremental nature of learning algorithm
• Accepts training instances one at a time, forming a usable, although
possibly incomplete, generalization after each example (unlike the batch
algorithm such as ID3).
• Even before the algorithm converges on a single concept, the G
and S sets provide usable constraints on that concept
• If c is the goal concept, then for all g∈G and s∈S, s≤c≤g.
• Any concept that is more general than some concept in G will cover
negative instance; any concept that is more specific than some concept in S
will fail to cover some positive instances
Machine Learning 32
• Problems
• combinatorics of problem space: excessive growth of search space
 Useful to develop heuristics for pruning states from G and S (beam
search)
 Uses an inductive bias to reduce the size of concept space
 trade off between expressiveness and efficiency
• The algorithm may fail to converge because of noise or inconsistency in
training data
 One solution to this problem is to maintain multiple G and S sets
• Contribution
• explication of the relationship between knowledge representation,
generalization, and search in inductive learning
Machine Learning 33

More Related Content

What's hot

Machine Learning 1 - Introduction
Machine Learning 1 - IntroductionMachine Learning 1 - Introduction
Machine Learning 1 - Introductionbutest
 
Meta-learning of exploration-exploitation strategies in reinforcement learning
Meta-learning of exploration-exploitation strategies in reinforcement learningMeta-learning of exploration-exploitation strategies in reinforcement learning
Meta-learning of exploration-exploitation strategies in reinforcement learningUniversité de Liège (ULg)
 
Machine Learning
Machine LearningMachine Learning
Machine Learningbutest
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.pptbutest
 
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearchJarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearchPalGov
 
Lecture 2: Preliminaries (Understanding and Preprocessing data)
Lecture 2: Preliminaries (Understanding and Preprocessing data)Lecture 2: Preliminaries (Understanding and Preprocessing data)
Lecture 2: Preliminaries (Understanding and Preprocessing data)Marina Santini
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401butest
 
Lecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyLecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyMarina Santini
 
Text classification
Text classificationText classification
Text classificationHarry Potter
 
L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)analystbuddy
 
Machine learning and linear regression programming
Machine learning and linear regression programmingMachine learning and linear regression programming
Machine learning and linear regression programmingSoumya Mukherjee
 
3_learning.ppt
3_learning.ppt3_learning.ppt
3_learning.pptbutest
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learningTonmoy Bhagawati
 
Bayesian classification
Bayesian classificationBayesian classification
Bayesian classificationManu Chandel
 
Scalable sentiment classification for big data analysis using naive bayes cla...
Scalable sentiment classification for big data analysis using naive bayes cla...Scalable sentiment classification for big data analysis using naive bayes cla...
Scalable sentiment classification for big data analysis using naive bayes cla...Tien-Yang (Aiden) Wu
 

What's hot (18)

Machine Learning 1 - Introduction
Machine Learning 1 - IntroductionMachine Learning 1 - Introduction
Machine Learning 1 - Introduction
 
Machine learning
Machine learningMachine learning
Machine learning
 
Meta-learning of exploration-exploitation strategies in reinforcement learning
Meta-learning of exploration-exploitation strategies in reinforcement learningMeta-learning of exploration-exploitation strategies in reinforcement learning
Meta-learning of exploration-exploitation strategies in reinforcement learning
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
MachineLearning.ppt
MachineLearning.pptMachineLearning.ppt
MachineLearning.ppt
 
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearchJarrar.lecture notes.aai.2011s.ch3.uniformedsearch
Jarrar.lecture notes.aai.2011s.ch3.uniformedsearch
 
Lecture 2: Preliminaries (Understanding and Preprocessing data)
Lecture 2: Preliminaries (Understanding and Preprocessing data)Lecture 2: Preliminaries (Understanding and Preprocessing data)
Lecture 2: Preliminaries (Understanding and Preprocessing data)
 
Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401Machine Learning: Foundations Course Number 0368403401
Machine Learning: Foundations Course Number 0368403401
 
Lecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language TechnologyLecture 2 Basic Concepts in Machine Learning for Language Technology
Lecture 2 Basic Concepts in Machine Learning for Language Technology
 
Decision trees
Decision treesDecision trees
Decision trees
 
Text classification
Text classificationText classification
Text classification
 
L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)L1 flashcards quantitative methods (ss3)
L1 flashcards quantitative methods (ss3)
 
Machine learning and linear regression programming
Machine learning and linear regression programmingMachine learning and linear regression programming
Machine learning and linear regression programming
 
3_learning.ppt
3_learning.ppt3_learning.ppt
3_learning.ppt
 
Borderline Smote
Borderline SmoteBorderline Smote
Borderline Smote
 
Presentation on supervised learning
Presentation on supervised learningPresentation on supervised learning
Presentation on supervised learning
 
Bayesian classification
Bayesian classificationBayesian classification
Bayesian classification
 
Scalable sentiment classification for big data analysis using naive bayes cla...
Scalable sentiment classification for big data analysis using naive bayes cla...Scalable sentiment classification for big data analysis using naive bayes cla...
Scalable sentiment classification for big data analysis using naive bayes cla...
 

Similar to Machine Learning

Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedbutest
 
Week_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxWeek_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxmuhammadsamroz
 
Lecture 5 machine learning updated
Lecture 5   machine learning updatedLecture 5   machine learning updated
Lecture 5 machine learning updatedVajira Thambawita
 
Intro to machine learning
Intro to machine learningIntro to machine learning
Intro to machine learningAkshay Kanchan
 
ML slide share.pptx
ML slide share.pptxML slide share.pptx
ML slide share.pptxGoodReads1
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3Luis Borbon
 
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptxRahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptxRahulKirtoniya
 
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
 
Machine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptxMachine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptxVenkateswaraBabuRavi
 
Lecture 09(introduction to machine learning)
Lecture 09(introduction to machine learning)Lecture 09(introduction to machine learning)
Lecture 09(introduction to machine learning)Jeet Das
 
Machine Learning Methods 2.pptx
Machine Learning Methods 2.pptxMachine Learning Methods 2.pptx
Machine Learning Methods 2.pptxDOUGLASBILLY
 

Similar to Machine Learning (20)

Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-based
 
Week_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptxWeek_1 Machine Learning introduction.pptx
Week_1 Machine Learning introduction.pptx
 
Lecture 5 machine learning updated
Lecture 5   machine learning updatedLecture 5   machine learning updated
Lecture 5 machine learning updated
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 
Intro to machine learning
Intro to machine learningIntro to machine learning
Intro to machine learning
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 
ai4.ppt
ai4.pptai4.ppt
ai4.ppt
 
ML slide share.pptx
ML slide share.pptxML slide share.pptx
ML slide share.pptx
 
Machine learning - session 3
Machine learning - session 3Machine learning - session 3
Machine learning - session 3
 
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptxRahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
Rahul_Kirtoniya_11800121032_CSE_Machine_Learning.pptx
 
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
 
Machine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptxMachine learning ppt unit one syllabuspptx
Machine learning ppt unit one syllabuspptx
 
AI Lesson 33
AI Lesson 33AI Lesson 33
AI Lesson 33
 
Lesson 33
Lesson 33Lesson 33
Lesson 33
 
ML02.ppt
ML02.pptML02.ppt
ML02.ppt
 
Lecture 09(introduction to machine learning)
Lecture 09(introduction to machine learning)Lecture 09(introduction to machine learning)
Lecture 09(introduction to machine learning)
 
Machine Learning Methods 2.pptx
Machine Learning Methods 2.pptxMachine Learning Methods 2.pptx
Machine Learning Methods 2.pptx
 
Machine Learning - Deep Learning
Machine Learning - Deep LearningMachine Learning - Deep Learning
Machine Learning - Deep Learning
 
PPT s10-machine vision-s2
PPT s10-machine vision-s2PPT s10-machine vision-s2
PPT s10-machine vision-s2
 

More from Prof. Dr. K. Adisesha

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfProf. Dr. K. Adisesha
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaProf. Dr. K. Adisesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfProf. Dr. K. Adisesha
 

More from Prof. Dr. K. Adisesha (20)

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdf
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdf
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdf
 
Introduction to Computers.pdf
Introduction to Computers.pdfIntroduction to Computers.pdf
Introduction to Computers.pdf
 
R_Programming.pdf
R_Programming.pdfR_Programming.pdf
R_Programming.pdf
 
Scholarship.pdf
Scholarship.pdfScholarship.pdf
Scholarship.pdf
 
Operating System-2 by Adi.pdf
Operating System-2 by Adi.pdfOperating System-2 by Adi.pdf
Operating System-2 by Adi.pdf
 
Operating System-1 by Adi.pdf
Operating System-1 by Adi.pdfOperating System-1 by Adi.pdf
Operating System-1 by Adi.pdf
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Data_structure using C-Adi.pdf
Data_structure using C-Adi.pdfData_structure using C-Adi.pdf
Data_structure using C-Adi.pdf
 
JAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdfJAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdf
 
JAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdfJAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdf
 

Recently uploaded

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 

Machine Learning

  • 2. Introduction A Framework for Symbol-Based Learning Version Space Search • The Candidate Elimination Algorithm ID3 Decision Tree Induction Algorithm Knowledge and Learning • Explanation-Based Learning Unsupervised Learning • Conceptual clustering Machine Learning 2
  • 3. • Learning • through the course of their interactions with the world • through the experience of their own internal states and processes • Is important for practical applications of AI • Knowledge engineering bottleneck • major obstacle to the widespread use of intelligent systems • the cost and difficulty of building expert systems using traditional knowledge acquisition techniques • one solution  For program to begin with a minimal amount of knowledge  And learn from examples, high-level advice, own explorations of the domain Machine Learning 3
  • 4. • Definition of learning • Views of Learning • Generalization from experience  Induction: must generalize correctly to unseen instances of domain  Inductive biases: selection criteria (must select the most effective aspects of their experience) • Changes in the learner  acquisition of explicitly represented domain knowledge, based on its experience, the learner constructs or modifies expressions in a formal language (e.g. logic). Machine Learning 4 Any change in a system that allow it to perform better the second time on repetition of the same task or on another task drawn form the same population (Simon, 1983)
  • 5. • Learning Algorithms vary in • goals, available training data, learning strategies and knowledge representation languages • All algorithms learn by searching through a space of possible concepts to find an acceptable generalization (concept space Fig. 9.5) • Inductive learning • learning a generalization from a set of examples • concept learning is a typical inductive learning  infer a definition from given examples of some concept (e.g. cat, soybean disease)  allow to correctly recognize future instances of that concept  Two algorithms: version space search and ID3 Machine Learning 5
  • 6. • Similarity-based vs. Explanation-based • Similarity-based (data-driven)  using no prior knowledge of the domain  rely on large numbers of examples  generalization on the basis of patterns in training data • Explanation-based Learning(prior knowledge-driven)  using prior knowledge of the domain to guide generalization  learning by analogy and other technology that utilize prior knowledge to learn from a limited amount of training data Machine Learning 6
  • 7. Supervised vs. Unsupervised • supervised learning  learning from training instances of known classification • unsupervised learning  learning from unclassified training data  conceptual clustering or category formation Machine Learning 7
  • 8. • Learning Algorithms are characterized by a general model • Data and goals of the learning task • Representation Language • A set of operations • Concept space • Heuristic Search • Acquired knowledge Machine Learning 8
  • 10. • Data and Goals • Type of data  positive or negative examples  Single positive example and domain specific knowledge  high-level advice (e.g. condition of loop termination)  analogies(e.g. electricity vs. water) • Goal of Learning algorithms: acquisition of  concept, general description of a class of objects  plans  problem-solving heuristics  other forms of procedural knowledge • Properties and quality of data  come from the outside environment (e.g. teacher) or generated by the program itself  reliable or contain noise  well-structured or unorganized  positive and negative or only positive Machine Learning 10
  • 11. Machine Learning 11 Concept learning Explanation- based Clustering Data Positive/negative examplesofa targetclass Atrainingexample + priorknowledge Asetof unclassified instances Goal Toinfer ageneral definition To infer a general concept Todiscover categorizations
  • 12. • Representation of learned knowledge • concept expressions in predicate calculus  A simple formulation of the concept learning problem as conjunctive sentences containing variables • structured representation such as frames • description of plans as a sequence of operations or triangle table • representation of heuristics as problem-solving rules Machine Learning 12 size(obj1, small) ^ color(obj1, red) ^ shape(obj1, round) size(obj2, large) ^ color(obj2, red) ^ shape(obj2, round) => size(X, Y) ^ color(X, red) ^ shape(X, round)
  • 13. • A Set of operations • Given a set of training instances, the leaner must construct a generalization, heuristic rule, or plan that satisfies its goal • Requires ability to manipulate representations • Typical operations include  generalizing or specializing symbolic expressions  adjusting the weights in a neural network  modifying the program’s representations • Concept space • defines a space of potential concept definitions • complexity of potential concept space is a measure of difficulty of learning algorithms Machine Learning 13
  • 14. • Heuristic Search • Use available training data and heuristics to search efficiently • Patrick Winston’s work on learning concepts from positive and negative examples along with near misses (Fig. 2). • The program learns by refining candidate description of the target concept through generalization and specialization.  Generalization changes the candidate description to let it accommodate new positive examples (Fig. 3)  Specialization changes the candidate description to exclude near misses (Fig. 4)  Performance of learning algorithm is highly sensitive to the quality and order of the training examples Machine Learning 14
  • 19. • Implementation of inductive learning as search through a concept space • Generalization operations impose an ordering on the concepts in a space, and uses this ordering to guide the search • 2.1 Generalization Operators and Concept Space • 2.2 Candidate Elimination Algorithm Machine Learning 19
  • 20. • Primary generalization operations used in ML • Replacing constants with variables  color(ball, red) -> color(X, red) • Dropping conditions from a conjunctive expression  shape(X, round) ^ size(X, small) ^ color(X, red) -> shape(X, round) ^ color(X, red) • Adding a disjunct to an expression  shape(X, round) ^ size(X, small) ^ color(X, red) -> shape(X, round) ^ size(X, small) ^ (color(X, red)  color(X, blue)) • Replacing a property with its parent in a class hierarchy  color(X, red) -> color(X, primary_color) if primary_color is superclass of red Machine Learning 20
  • 21. • Notion of covering • If concept P is more general than concept Q, we say that “P covers Q” • Color(X,Y) covers color(ball,Y), which in turn covers color(ball,red) • Concept space • Defines a space of potential concept definitions • The example concept space representing the predicate obj(Sizes, Color, Shapes) with properties and values  Sizes = {large, small}  Colors = {red, white, blue}  Shapes = {ball, brick, cube} is presented in Fig. 5 Machine Learning 21
  • 23. • Version space: the set of all concept descriptions consistent with the training examples. • Toward reducing the size of the version space as more examples become available (Fig. 9.10) • Specific to general search from positive examples • General to specific search from negative examples • Candidate elimination algorithm combines these into a bi-directional search • Generalize based on regularities found in the training data • Supervised learning Machine Learning 23
  • 24. • The learned concept must be general enough to cover all positive examples, also must be specific enough to exclude all negative examples • maximally specific generalization • Maximally general specialization Machine Learning 24 A concept c, is maximally specific if it covers all positive examples, none of the negative examples, and for any concept c’, that covers the positive examples, c  c’ A concept c, is maximally general if it covers none of the negative training instances, and for any other concept c’, that covers no negative training instance, c  c’.
  • 30. Begin Initialize G to the most general concept in the space; Initialize S to the first positive training instance; For each new positive instance p Begin Delete all members of G that fail to match p; For every s in S, if s does not match p, replace s with its most specific generalizations that match p and are more specific than some members of G; Delete from S any hypothesis more general than some other hypothesis in S; End; For each new negative instance n Begin Delete all members of S that match n; For each g in G that matches n, replace g with its most general specializations that do not match n and are more general than some members of S; Delete from G any hypothesis more specific than some other hypothesis in G; End Machine Learning 30
  • 31. • Combining the two directions of search into a single algorithm has several benefits. • G and S sets summarizes the information in the negative and positive training instances. • Fig. 9 gives an abstract description of the candidate elimination algorithm. • “+” signs represent positive instances • “-” signs indicate negative instances • The search “shrinks” the outermost concept to exclude negative instances • The search “expands” the innermost concept to include new positive instances Machine Learning 31
  • 32. • An incremental nature of learning algorithm • Accepts training instances one at a time, forming a usable, although possibly incomplete, generalization after each example (unlike the batch algorithm such as ID3). • Even before the algorithm converges on a single concept, the G and S sets provide usable constraints on that concept • If c is the goal concept, then for all g∈G and s∈S, s≤c≤g. • Any concept that is more general than some concept in G will cover negative instance; any concept that is more specific than some concept in S will fail to cover some positive instances Machine Learning 32
  • 33. • Problems • combinatorics of problem space: excessive growth of search space  Useful to develop heuristics for pruning states from G and S (beam search)  Uses an inductive bias to reduce the size of concept space  trade off between expressiveness and efficiency • The algorithm may fail to converge because of noise or inconsistency in training data  One solution to this problem is to maintain multiple G and S sets • Contribution • explication of the relationship between knowledge representation, generalization, and search in inductive learning Machine Learning 33