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
The library is designing a book display with fiction books 28 biographies and 40 non fiction books. Each shelf will have only on
Rufina [12.5K]
If the question is how many shelves are needed, then the answer is 18 shelves.
3 0
3 years ago
Find the value of k if the line y = kx + 2 goes through the point<br><br> A (-2, 4)
viktelen [127]

Answer:

k=-1

Step-by-step explanation:

check is the equation goes through the point (-2,4)

4=-(-2)+2

4=2+2

4=4

this line goes through the point (-2,4)

Hope this helps UwU...

7 0
3 years ago
PLZ HELP FAST!!!!!!!!!!!!​
WITCHER [35]

Answer:

BEYONCE

Step-by-step explanation:

YOU CAN TASTE THE DISHONESTY, IT’S ALL OVER YOUR BREATH

AS YOU PASS IT OFF SO CAVALIER, BUT EVEN THAT’S A TEST

CONSTANTLY AWARE OF IT ALL, MY LONELY EAR

PRESSED AGAINST THE WALLS OF YOUR WORLD

PRAY TO CATCH YOU WHISPERING

I PRAY YOU CATCH ME LISTENING

I’M PRAYING TO CATCH YOU WHISPERING

I PRAY YOU CATCH ME

I’M PRAYING TO CATCH YOU WHISPERING

I PRAY YOU CATCH ME LISTENING

I PRAY YOU CATCH ME

NOTHING ELSE EVER SEEMS TO HURT LIKE THE SMILE ON YOUR FACE

WHEN IT’S ONLY IN MY MEMORY, IT DON'T HIT ME QUITE THE SAME

MAYBE IT’S A CAUSE FOR CONCERN, BUT I'M NOT AT EASE

KEEPING MY HEAD TO THE CURB

PRAY TO CATCH YOU WHISPERING

I PRAY YOU CATCH ME LISTENING

I PRAY TO CATCH YOU WHISPERING

I PRAY YOU CATCH ME

I PRAY YOU CATCH ME

I PRAY YOU CATCH ME

I’M PRAYING YOU CATCH ME

4 0
3 years ago
Read 2 more answers
To rent a car, you must pay $0.30 per mile plus a maintenance fee of $35. Write and equation to represent this function.
KengaRu [80]

Let y be the total cost and x be the miles taken:

y = 0.30x + 35

35 is a fixed cost. No matter how many miles you drive the car you will still need to pay $35

.30 is a cost that depends on the miles taken (x).

Hope this helped!

~Just a girl in love with Shawn Mendes

5 0
3 years ago
What is the measure of angle B in the figure below?
gizmo_the_mogwai [7]

Answer:

It's 45 degrees on edgen

Step-by-step explanation:

and whichever dumb b&tch deleted my comment, please stop riding my d&ck so hard<3 thanks

7 0
3 years ago
Other questions:
  • -3c = 36<br><br> Show work please
    9·1 answer
  • Solve |x + 2| = 10<br> 3 options
    15·1 answer
  • 5.476 rounded to the hundredths place
    12·2 answers
  • Solve for z please I am not sure need answer ASAP
    11·1 answer
  • Given only the information in the diagram, determine if m is parallel to n. If so, name the postulate or theorem used to support
    7·1 answer
  • For points A(−4, 8) and B(6, −14), what is the y-coordinate of the midpoint of line segment AB?
    14·1 answer
  • Find the measure of angle c
    7·1 answer
  • Please find the measure of angle F
    14·1 answer
  • A toy is accidentally dropped by a kid from his roof. The final velocity of the toy before it reached the ground was 8m/s. Find
    8·1 answer
  • Given: ABCD is a parallelogram.<br> Prove:
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!