k-means handout

k-means handout - 232 Image Smnntetinn Chap “I in...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 232 Image Smnntetinn Chap. “I: in heuiitinnal clustering. thereare Helueters £3,133..." C; with nicanamhatz. .. .1 tax. A lean squares error measure-ten he defined an 5:22 HI; —fl!*l'1. fi=l lrEC; Whith Measures how close the data are to their aseigned clusteta. .9. lean-aqteres clue- tcn'ng peasant-e could emitter all possible partitilata into it” clusters and select the one that minimizes D. Since this is mnnputatienully infmihle. the popular embeds ate up proximatione. One important issue is whether at nut If is knot-v11 in advance. Many algo- t'itltms expect it: as a parameter from the unenflthetautempt to find the heat it“ meta-d- ing to some criterion. such Illi limping the variance of each cluster less than a specified value. Iterative K—Muns {tutoring 'I1te K-meartt algeritlun is a simple. iterative hill-climbing mhnd. It can he expressed 33: Form Krmcaiu clusters that: n eet ut'n-dhnemlurnl vectors. 1. Set it: {iteration center) to l. 2. Choose ranthtlrnlglr a setoi‘ I meant ml [IanEtI]. mgll}. 3. Fm each vector x; compute 0(151Mflffl] let“ each k = I ..... K and assign x; to the cluster C:- with the nearest mean. It. Inclement r'r- by l and update-the means togctn the“: eel mllie]. mite]. . . ., cutie]. 5. Repeal steps 3 and-41mm C'flt'c] = Cgfic‘+ I} For all. It. Algwit'hm ‘IllJ Ill—Means fluttering- This algorithm il- guaranteed to terminate. but: it ma)r not find the global optimum in the least squares sense. Step I may be modified to partition the net. of vectors into I random clusters and then cempate their means. Step 5 may be modified to stop alter the percentage of vector: that change clusters the given iteration is small. Figure ”1.4 “helm the application rrf the III-meant: clustering algorithm in REE space to the original football imageei‘Fig-ue Ill]. Isodtttn mutating thorium cluttering is another iterative algorithm that use” splitm-merge technique. Again assume that duet-e are lt' clusters Cl. C; ..... Cg widt moms my. n11, . . . .H‘Tx. and let I; he the covariance matrix ofchlsterltlao defined next]. if the rye nre vector: of the form xl=[u1.-"31'”Iun] ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern