100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary Machine Learning Exercises

Rating
-
Sold
-
Pages
1
Uploaded on
03-01-2022
Written in
2004/2005

Machine Learning Exercises

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
January 3, 2022
Number of pages
1
Written in
2004/2005
Type
Summary

Subjects

Content preview

Machine Learning
Exercises Chapter 8


March 16, 2009


1. Instance based classification requires a distance measure. When data can be represented as n-
dimensional vectors
pP with numeric or symbolic components, 0 a generally usable distance function
is: d(x, y) = wi .d0 (xi , yi )2 , where for symbolic values d is defined by d0 (x, y) = 0 ⇔ x = y,
otherwise 1; and for numerical values d0 (x, y) = |x−y|. Note that for purely numerical vectors, with
wi = 1 we obtain the Euclidean distance, whereas for purely symbolic vectors the same weights
give us the Hamming distance.
In this exercise the instance space is true, f alse × R. Unless specified otherwise, use as a distance
criterion the function mentioned above. Consider the following points:

Example A B Class
1 true 1 +
2 f alse 3 +
3 true 5 +
4 f alse 2 −
a) Classify (f alse, 4) with Nearest Neighbor.
b) Classify (f alse, 4) with 3NN.
c) Suggest a prototype for all positive examples and a prototype for all negative examples. Why
do you make this suggestions?
d) Classify (f alse, 4) using the prototypes.

2. Sketch a Voronoi map for the 1NN method for the following examples:
a)
Example x y Class
1 0 0 −
2 0 −3 −
3 −2 −2 −
4 0 5 +
5 2 3 +
6 −2 2 +
7 −5 0 +
b)
Example x y Class
1 0 0 −
2 2 0 −
3 −2 0 −
4 1 2 +
5 −1 2 +
6 −4 2 +
7 4 2 +



1
$7.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
riyadhalgburi

Get to know the seller

Seller avatar
riyadhalgburi Southwest Jiaotong University
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 year
Number of followers
0
Documents
33
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions