Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 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

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

Written for

Institution
Course

Document information

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

Subjects

$7.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
-
Member since
4 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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions