Top Banner
15CS73 - Machine Learning Harivinod N Module-V Chapter 8 Instance Based Learning, By Harivinod N Vivekananda College of Engineering Technology, Puttur
31

Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

Jun 24, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Module-V Chapter 8

Instance Based Learning,

By

Harivinod NVivekananda College of Engineering

Technology, Puttur

Page 2: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Module 5 - Outline

Chapter 8: Instance Based Learning

1. Introduction

2. K-nearest neighbor Learning

3. Locally Weighted regression

4. Radial basis functions

5. Case based reasoning

6. Summary

4

Page 3: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Introduction

5

Page 4: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Introduction

6

Page 5: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Module 5 - Outline

Chapter 8: Instance Based Learning

1. Introduction

2. K-nearest neighbor Learning

3. Locally Weighted regression

4. Radial basis functions

5. Case based reasoning

6. Summary

7

Page 6: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

K-nearest neighbor learning (For classification and regression)

8

Page 7: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

K-nearest neighbor learning

9

Page 8: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

KNN Algorithm for classification

10

Page 9: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

K-NN Hypothesis Space

11

Page 10: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

K-nearest neighbor learning

12

Page 11: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Distance Weighted Nearest Neighbor

13

Page 12: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Remarks on K-NN

14

Page 13: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Module 5 - Outline

Chapter 8: Instance Based Learning

1. Introduction

2. K-nearest neighbor Learning

3. Locally Weighted regression

4. Radial basis functions

5. Case based reasoning

6. Summary

15

Page 14: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Locally Weighted Regression

16

Page 15: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N 17

Page 16: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Locally weighted linear regression

18

Page 17: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Locally weighted linear regression

19

Page 18: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Locally weighted linear regression

20

Page 19: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Algorithm

21

Page 20: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Module 5 - Outline

Chapter 8: Instance Based Learning

1. Introduction

2. K-nearest neighbor Learning

3. Locally Weighted regression

4. Radial basis functions

5. Case based reasoning

6. Summary

22

Page 21: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Radial basis function

One of the approach to function approximation

that is closely related to

distance-weighted regression and

artificial neural networks

is learning with radial basis functions

23

Page 22: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Radial basis function ( for regression)

24

Page 23: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Radial basis function

25

Page 24: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

RBF NN

26

Page 25: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N 27

Page 26: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N 28

Page 27: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Module 5 - Outline

Chapter 8: Instance Based Learning

1. Introduction

2. K-nearest neighbor Learning

3. Locally Weighted regression

4. Radial basis functions

5. Case based reasoning

6. Summary

29

Page 28: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Case Based Reasoning

� Instance-based methods such as k-NN, locally weighted regression share three key properties.

1. They are lazy learning methods

They defer the decision of how to generalize beyond the training data until a new query instance is observed.

2. They classify new query instances by analyzing similar instances while ignoring instances that are very different from the query.

3. Third, they represent instances as real-valued points in an n-dimensional Euclidean space.

�Case-based reasoning (CBR) is a learning paradigm based on the first two of these principles, but not the third.

30

Page 29: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Case Based Reasoning

� In CBR, instances are typically represented using more rich symbolic descriptions, and the methods used to retrieve similar instances are correspondingly more elaborate.

• CBR has been applied to problems such as conceptual design of mechanical devices based on a stored library of previous designs (Sycara et al. 1992),

• reasoning about new legal cases based on previous rulings (Ashley 1990),

• solving planning and scheduling problems by reusing and combining portions of previous solutions to similar problems (Veloso 1992).

31

Page 30: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Case Study

�The CADET system (Sycara et al. 1992)

• employs case based reasoning to assist in the conceptual design of simple mechanical devices such as water faucets.

• It uses a library containing approximately 75 previous designs and

• design fragments to suggest conceptual designs to meet the specifications of new design problems.

• Complete Case study - Self study

32

Page 31: Module-V Chapter 8 Instance Based Learning, Chapter 8: Instance Based Learning 1. Introduction 2. K-nearest neighbor Learning 3. Locally Weighted regression 4. Radial basis functions

15CS73 - Machine Learning Harivinod N

Summary

33