900 likes | 927 Views
This lecture covers topics such as machine learning, knowledge representation, and expert systems. It includes the induction of decision trees from data, classification systems, pattern recognition, and learning in general. The content explores how to select the best properties for decision trees, classifier training, and application, as well as the general process of learning and knowledge representation. Examples, historical insights, and conceptual frameworks like frames and semantic networks are discussed. The lecture aims to provide a comprehensive overview of key concepts in artificial intelligence.
E N D
Lectures 5,6 MACHINE LEARNING EXPERT SYSTEMS
Contents • Machine learning • Knowledge representation • Expert systems
Sport=No Sport=Yes Decision trees Outlook Sunny Rain Overcast Humidity Wind High Normal Strong Weak
Partially constructed decision trees STEP 1 STEP 2
A heuristic problem HOW TO SELECT THE BEST PROPERTY?
Approximate trees Humidity High Normal 85% Outlook Not Sunny Sunny 100% 75%
Pattern recognition • Patterns: • images, personal records, driving habits, etc. • Representation: • vector of features (inputs to a neural network) • Pattern classification: • Classify a pattern to one of the given classes
Classifier training > classifier < not Marks > classifier < Marks > classifier < not Marks > classifier < Marks > classifier < not Marks > classifier < not Marks
Classifier application > Classifier > Marks Note: The test image does not appear in the training data
The data and the goals • We begin with a collection of positive (and usually negative) examples of a target class (a concept to be learnt) • The goal is to infer a general definition that will allow the learner to recognize future instances of the class
Knowledge representation • Positive and negative examples can be represented, e.g., in predicate calculus • Two positive instances of the concept of “ball” can be expressed as follows: size(obj1,small) color(obj1,red) shape(obj1,round) size(obj2,large) color(obj2,red) shape(obj2,round) • The general concept of “ball” could be defined by: size(X,Y) color(X,Z) shape(X,round) where any sentence that unifies with this general definition represents a ball
A set of operations Given a set of training instances, the learner must construct a generalization, heuristic rule or plan that satisfies its goals
The concept space Representation language and the operations define a space of potential concept definitions The learner must search this space to find the desired concept
Heuristic search Learning programs must commit to a direction and order of search, as well as… …to the use of available data and heuristics to search efficiently
Generalization of descriptions to include multiple examples (I)
Generalization of descriptions to include multiple examples (II)
Starting with the original Specialization of a description to exclude a near miss we add special constraints so that this can’t match
developed by Collins & Quillian in their research on human information storage and response times Semantic network
Network representation of properties of… …snow and ice
Three planes representing… …three definitions of the word “plant”
Intersection path between “cry” and “comfort” (Quillian 1967)
Case frame representation of the sentence “Sarah fixed thechair with glue.”
Conceptual dependency theory of four primitive conceptualizations For example, all actions are assumed to reduce to one or more of the primitive ACTs listed below:
“John ate the egg” “John prevented Mary from giving a book to Bill”
Restaurant script (Schank and Abelson 1977)
A frame includes: • Frame identification information • Its relationship to other frames • Descriptors of requirements • Procedural information on use of the structure described • Frame default information • New instance information
Relationship to other frames • For instance, the “hotel phone” might be a special instance of “phone”, which might be an instance of a “communication device”
Descriptors of requirements • For instance, a chair has its seat between 20 and 40 cm from the floor, its back higher than 60 cm, etc. • These requirements may be used to determine when new objects fir the stereotype defined by the frame
Procedural information • An important feature of frames is the ability to attach procedural code to a slot
Frame default information • These are slot values that are taken to be true when no evidence to the contrary has been found • For instance, chairs have four legs, telephones are pushbutton, hotel beds are made by the staff
New instance information • Many frame slots may be left unspecified until given a value for a particular instance or when they are needed for some aspect of problem solving • For instance, the color of the bedspread may be left unspecified
Part of a frame description of a hotel room “Specialization” indicates a pointer to a superclass