Problem : Use the k-means algorithm and Euclidean distance to cluster the following 9 examples into 3 clusters: A1= (-2,-1), A2=(-2,5), A3=(8,-4), A4=(3,-2), A5=(4,5), A6=(6,4), A7=(-1,2), A8=(4,-9), A9=(5,5). Suppose that the initial seeds (centers of each cluster) are A1, A4 and A7. a. Apply kmeans algorithm to tell finally which points are included in C1, C2 and C3. b. Draw all the 9 points on xy plane and circle each cluster to show it makes sense or not.

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter1: Functions
Section1.2: The Least Square Line
Problem 2E
icon
Related questions
icon
Concept explainers
Question
Problem : Use the k-means algorithm and Euclidean distance to cluster the following 9 examples into 3 clusters: A1= (-2,-1), A2=(-2,5), A3=(8,-4), A4=(3,-2), A5=(4,5), A6=(6,4), A7=(-1,2), A8=(4,-9), A9=(5,5). Suppose that the initial seeds (centers of each cluster) are A1, A4 and A7. a. Apply kmeans algorithm to tell finally which points are included in C1, C2 and C3. b. Draw all the 9 points on xy plane and circle each cluster to show it makes sense or not.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Ellipses
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra for College Students
Algebra for College Students
Algebra
ISBN:
9781285195780
Author:
Jerome E. Kaufmann, Karen L. Schwitters
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning