Instance-based learning Assumptions and inductive bias
Smooth relative to the sampling of feature space
x2
x1
CE802 (CSEE) Instance-based learning 5 / 24
Instance-based learning Assumptions and inductive bias
Smooth relative to the sampling of feature space
x2
x1
CE802 (CSEE) Instance-based learning 5 / 24
Instance-based learning Assumptions and inductive bias
Smooth relative to the sampling of feature space
x2
x1
CE802 (CSEE) Instance-based learning 5 / 24
Instance-based learning Similarity functions
Choosing the right encoding/distance
Imagine we are designing autopilot able to fly a broken plane.
We use a simple encoding:
1 binary attribute: “left engine broken”
1 binary attribute: “right engine broken”
and a simple distance: number of attributes that are different.
CE802 (CSEE) Instance-based learning 10 / 24
Instance-based learning Classification functions
Building 1-nn
x2
x1
CE802 (CSEE) Instance-based learning 14 / 24
Instance-based learning Classification functions
Building k-nn
x2
x1
CE802 (CSEE) Instance-based learning 15 / 24
Instance-based learning Classification functions
Role of k: training set
CE802 (CSEE) Instance-based learning 16 / 24
Instance-based learning Classification functions
Role of k: 1-NN
CE802 (CSEE) Instance-based learning 16 / 24
Instance-based learning Classification functions
Role of k: 3-NN
CE802 (CSEE) Instance-based learning 16 / 24