1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dimulka [17.4K]
3 years ago
7

Consider a set of one-dimensional points: 6, 12, 18, 24, 30, 42, 48.

Mathematics
1 answer:
Vinvika [58]3 years ago
6 0

Answer:

1) With initial centroids 10-40, final clusters are

first cluster (6,12,18,24,30)

second cluster (42,48)

And the Sum of Squared Errors (SSE) for the clustering result is 378

2) With initial centroids 10-20, final clusters are

first cluster (6,12,18,24)  

second cluster (30,42,48)

And the Sum of Squared Errors (SSE) for the clustering result is 348

Step-by-step explanation:

K-means works as follows

  • the points will be clustered according to their distance to the centroids.
  • Then centroids are updated as the cluster means.
  • This process continues until clusters doesn't change anymore

1)  <u><em>initial centroids</em></u> 10-40

first cluster (6,12,18,24)  mean:15

second cluster (30,42,48) mean:40

<u><em>new centroids</em></u> 15-40

first cluster (6,12,18,24,30) mean:18

second cluster (42,48) mean:45

<u><em>final centroids</em></u> 18-45

first cluster (6,12,18,24,30) mean:18

second cluster (42,48) mean:45

Sum of Squared errors = (18-6)^{2}+(18-12)^{2}+(18-18)^{2}+(18-24)^{2}+(18-30)^{2}+(45-42)^{2}+(45-48)^{2}=378

2)<u><em>initial centroids</em></u> 10-20

first cluster (6,12)  mean:9

second cluster (18,24,30,42,48)  mean:32.4

<u><em>new centroids</em></u> 9-32.4

first cluster (6,12,18) mean:12

second cluster (24,30,42,48) mean:36

<u><em>new centroids</em></u> 12-36

first cluster (6,12,18,24) mean:15

second cluster (30,42,48) mean:40

<u><em>final centroids</em></u> 15-40

first cluster (6,12,18,24) mean:15  

second cluster (30,42,48) mean:40

Sum of Squared errors = (15-6)^{2}+(15-12)^{2}+(15-18)^{2}+(15-24)^{2}+(40-30)^{2}+(40-42)^{2}+(40-48)^{2}=348

You might be interested in
A car travels 54.9 miles in an hour.If the car continues at theach same speed for 12 hrs how many will it travel
dimaraw [331]

Answer:

658.8 miles

Step-by-step explanation:

first divide 54.9 by 60. then multiply that by 12 times 60

5 0
3 years ago
Lorena is investing a $5000 inheritance from her aunt in a certificate of deposit that matures in 4 years. The interest rate is
Elina [12.6K]

Answer:

$6407.73

Step-by-step explanation:

Use the compound amount formula:  A = P(1 + r/n)^(n*t), where

P is the original amount (the principal), r is the interest rate as a decimal fraction, n is the number of times the interest is compounded per year, and t is the number of years.

In this case, P = $5000, r = 0.0625, n = 4 and t = 4.  Thus,

A = $5000(1 + 0.0625/4)^(4*4), or

A = $5000(1.015625)^16 = $5000(1.2815) = $6407.73 (to the nearest cent)

6 0
4 years ago
I need help with this questionsomeone I am tired
mezya [45]

Answer:

The answer would be 22. Please mark me brainliest:D

5 0
3 years ago
Rectangle EFGH is graphed on a coordinate grid. EFGH is transformed according to the rule , resulting in rectangle E’F’G’H’.
Alona [7]
im sorry i dont understand that brother like thats sum weird
6 0
3 years ago
Read 2 more answers
A cup is filled with pencils. The teacher sharpen 1/4 of them. A student sharpen 2/3 of them. The fraction of pencils left to be
Bad White [126]

Answer:

1/12

Step-by-step explanation:

1/4+2/3=11/12

4 0
3 years ago
Other questions:
  • It's a question from real and complex numbers which I can't solve. so someone PLZ HeLp​
    9·1 answer
  • Leonardo ate a 3/5 of cheeseburger and an entire salad for dinner. The salad contained 70 calories and the entire meal contained
    12·2 answers
  • A quadrilateral has 4 right angles, 2 pairs of sides of equal length,2 pairs of opposite sides that are parallel. The pairs of o
    12·1 answer
  • If 3(11x-18y)=6(x+y)-3x-10y <br> what is the ratio of x to y?
    12·1 answer
  • When One Route and their support act, Cinnamon Bunnies, played, £54,000 was split at a ratio of 1:3:8 between the arena, Cinammo
    9·2 answers
  • Can you draw an isosceles triangle with only one 80 degree angle. Is this the only possibility or can another triangle be drawn
    5·1 answer
  • 8.1.26
    9·1 answer
  • If you really genius please answer this with solution ASAP
    12·2 answers
  • Divide: 37 / 0.05 please help
    12·2 answers
  • An internet cafe charges a fixed amount per minute to use the internet. The cost of using the internet in dollars is, y = 3/4x.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!