Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4.1 Minimizing mean square distance to a set of vectors. Let 1,.. , xL be a collection of n-vectors. In this exercise you will

4.1 Minimizing mean square distance to a set of vectors. Let 1,.. , xL be a collection of n-vectors. In this exercise you will fill in the missing parts of the argument to show that the vector z which minimizes the sum-square distance to the vectors, L2, J(z) is the average or centroid of the vectors, (1/L) (x L). (This result is used in one of the steps in the k-means algorithm. But here we have simplified the notation.) (a) Explain why, for any z, we have L L z-) (|-|22( r - ) (z-))L|-2 J(z) i=1 (-) (z - ) 0. Hint. Write the left-hand side as (b) Explain why T ) L (xi -) and argue that the left-hand vector is 0 Lz -2. we have J(z) > J(E). This shows that the choice z (c) Combine the results of (a) and (b) to get J(z) Explain why for any z , minimizes J(z) 1l- 4.3 Linear separation in 2-way partitioning. Clustering groups is called 2-way partitioning, since we are with index sets Gi and G2. Suppose 1,, XN. Show that there is a nonzero vector w and a scalar v that satisfy a collection of vectors into k 2 partitioning the vectors into 2 groups, 2, on the n-vectors we run k-means, with k w xiv0 for i E G1 w i 0 for i E G2. w is greater than or In other words, the affine function f(x) the first group, and less than or equal to zero on the second group. This is called linear separation of the two groups (although affine separation would be more accurate) Hint representatives equal to zero on Consider the function ||x - 21| | -21||,where z and z2 are the group

Step by Step Solution

3.40 Rating (162 Votes )

There are 3 Steps involved in it

Step: 1

Q... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

General Chemistry

Authors: Darrell Ebbing, Steven D. Gammon

9th edition

978-0618857487, 618857486, 143904399X , 978-1439043998

More Books

Students also viewed these Operating System questions

Question

Name three benefits and two costs of decentralisation.

Answered: 1 week ago