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
Which statement best describes f(6) = 12?
Sergio039 [100]

Answer:

When the input is 6, the output must be 12.

Step-by-step explanation:

f(6) = 12

The input to the function is x which is 6 and the output is what f(6) equals which is 12

5 0
3 years ago
Read 2 more answers
Please help.A teacher asked her pupils what their favourite school subject was.
julia-pushkina [17]
Yes this is simple just what is the angle of the whole circle and just subtract from that number.
3 0
3 years ago
What shape would you get if you cut off one of the corners of a rectangular prism
Svetlanka [38]

Answer:

A Pyramid

Step-by-step explanation:

3 0
2 years ago
I need help with this question? 2(t+1) =10
ANEK [815]

Answer:

Distribute

Subtract   two from both sides of the equation

Simplify

and that's your solution

which should be t=4

Step-by-step explanation:

3 0
3 years ago
Find the value of x^2+1/x^2 when <br>x-1/x=3​
BaLLatris [955]

Answer:

sorry i couldnt help

Step-by-step explanation:

:(

4 0
3 years ago
Other questions:
  • If a family has three children draw a tree diagram representing the possible outcomes for the genders of the children and then l
    13·1 answer
  • A hat costs 10.95 and a T-shirt costs $14.20. How much change will you receive if you pay for both items with a $50 bill?
    11·2 answers
  • The ordered pairs (3,2) and (-2,13) are points on a linear function. Which equation best describes this function?
    5·2 answers
  • 3\2+t=1\2 help solve for me please
    13·1 answer
  • Helppppp pleaseee :)
    5·1 answer
  • Halfway through a bus route, 23 students have been dropped off and 48 students remain on the bus. How many students were on the
    8·2 answers
  • Зу = -2 - 6<br> 3y = 2z - 6
    12·1 answer
  • Yeah please help
    13·2 answers
  • AT LEAST how many cubes like this one need to be joined together to form another LARGER SIZED CUBE?
    9·2 answers
  • Use the graph of the polynomial function to find the factored form of the
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!