Title: Classification
1Classification
- Slides by Greg Grudic, CSCI 3202Fall 2007
- Modified by Longin Jan Latecki
2Why Classification?
Signals
Uncertainty
Classification
Not typically addressed in CS
Symbols
(The Grounding Problem)
Agent
3Identifying (and Navigating) Paths
Data
Data
Construct a Classifier
Classifier
Data
Path labeled Image
4This Class Classification Models
- Collect Training data
- Construct Model happy F(feature space)
- Make a prediction
High Dimensional Feature (input) Space
5Goal of Classification
- Give Training Data
- GOAL
- Construct a model
- Model Property Minimum error rate on future
(unseen) data
6Measuring Model Accuracy Classification
- Assume a set of data
- Classification accuracy
Where
7Binary Classification
- A binary classifier is a mapping from a set of d
inputs to a single output which can take on one
of TWO values (e.g. path/no path) - In the most general setting
- Specifying the output classes as -1 and 1 is
arbitrary! - Often done as a mathematical convenience
8A Binary Classifier
Given learning data
A model is constructed
Classification Model
Not in learning set!
9Classification Learning Data
Example 1 0.95013 0.58279 1
Example 2 0.23114 0.4235 -1
Example 3 0.8913 0.43291 1
Example 4 0.018504 0.76037 -1
10The Learning Data
- Matrix Representation of N learning examples of d
dimensional inputs
11Graphical Representation of 2D Classification
Training Data
12Linear Separating Hyper-Planes Discriminative
Classifiers
How many lines can separate these points?
NO!
13(No Transcript)
14(No Transcript)
15(No Transcript)
16(No Transcript)
17Is this Data Linearly Separable?
NO!
18Is this Data Linearly Separable?
YES!
19Is this Data Linearly Separable?
NO!
20Is this Data Linearly Separable?
YES!