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
An open-topped glass aquarium with a square base is designed to hold 444 cubic feet of water. What is the minimum exterior surfa
In-s [12.5K]

Answer:

291.05ft²

Step-by-step explanation:

Volume of the aquarium = L³

L is the length of one side of the aquarium

444 = L³

L = cuberoot[444]

L= 7.63ft

Since the glass aquarium is opened at the top

Total surface Area = 5L²

Total surface Area = 5(7.63)²

Total surface Area = 291.05ft²

Hence the minimum exterior surface area of the aquarium is 291.05ft²

8 0
3 years ago
Truth or Dare?<br> Have a nice day/night &lt;3
denpristay [2]

Answer:

Truth plz

Step-by-step explanation:

3 0
2 years ago
Read 2 more answers
A sphere is inscribed in a cylinder. Use complete sentences and geometric formulas to compare the surface area of the sphere and
Papessa [141]

Answer:

1 : 1

Step-by-step explanation:

When a circle is inscribed in a cylinder, the height of the cylinder is equal to the diameter of the sphere and the radius of the cylinder is same as that of the sphere.

Let the radius of sphere is r.

height of cylinder, h = 2r

radius of cylinder = r

Surface area of sphere, A = 4πr²

lateral surface area of cylinder, A' = 2 πrh

A' = 2πr x 2r = 4πr²

The ratio of surface area of sphere to the lateral surface area of cylinder is 1 : 1.

5 0
3 years ago
4(c + d) -3c + 5d when c=1.5 and d= -6.2
patriot [66]

Answer:

-54.3

Step-by-step explanation:

4(1.5−6.2)−4.5−31

=(4)(−4.7)−4.5−31

=−18.8−4.5−31

=−23.3−31

=−54.3

7 0
2 years ago
A rectangle has an are of 36in squared. write an equation to show how length varies inversely the width. what is the equation li
Tju [1.3M]
L*W= 36
Rewrite to get:
l = 36 / w or w = 36 / l
Either one show =s the inverse relationship between w and l
Equation for x and y graph:
y = 36 / x


5 0
2 years ago
Other questions:
  • Can someone help me with this
    10·1 answer
  • The velocity of an object must include both a ______ and a ______
    12·1 answer
  • You find 72 coins consisting only of nickels, dimes, and quarters, with a face value of $10.20. However, the coins all date from
    15·1 answer
  • Find the three arithmetic means between -5 and -25
    9·1 answer
  • Need help please thanks
    13·2 answers
  •  The sum of the measures of the exterior angles of a regular 5-gon, one at each vertex, is __________ the sum of the measures of
    13·1 answer
  • What is the surface area of this rectangular pyramid?
    9·1 answer
  • What is the vertex of the function h(x)=|x+6|+3
    15·1 answer
  • The product of negative 5 and negative 4 increased by 3 equals
    7·1 answer
  • (1 point) Let f be a periodic function of period 10 such that f(x)=x2 for −5≤x&lt;5. Then the Fourier series of f is
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!