Three clusters using k-means clustering

Assignment Help Basic Computer Science
Reference no: EM13486883

A set of integers {11, 22, 3, 12, 1, 23, 21, 13, 2} is given.

a. Partition this given integer set into three clusters using K-means clustering, with
the following criteria:
i. The distance metric is Euclidean distance.
ii. The initial means for the three clusters are 1, 2 and 3 respectively (i.e. initial mean for cluster 1 is 1, initial mean for cluster 2 is 2 and that for cluster 3 is 3).
iii. The algorithm terminates when the means converge (i.e. the means are identical to those at the last iteration). Show clearly all the steps by giving the mean and its members for each cluster at every iteration. (3 marks)

b. If condition (ii) is changed in the sense that the initial means can be selected arbitrarily, then is it possible to yield clusters better than those obtained in (a)? If yes, suggest the best clusters (no need to show the steps). What can we say about the K-means algorithm from this?

Reference no: EM13486883

Questions Cloud

How far apart are the masses of the dumbbell : A 1.0- kg mass is attached to a string wrapped around a shaft of negligible mass and having a 6.0- cm radius. How far apart are the masses of the dumbbell
How long is the bacterium : An interferometer is used to measure the length of a bacterium. The wavelength of the light used is 650 nm. How long is the bacterium
How far around the track is the runner from starting point : A long distance runner starts at given place and runs around a circular track of 63m radius at a speed of 6.0m/s in the clockwise direction for 60 seconds, how far around the track is the runner from the starting point
What is the astronauts tangential acceleration : astronauts use a centrifuge to simulate the acceleration of a rocket launch. the centrifuge take 20.0 seconds to reach top speed, what is the astronauts tangential acceleration during the first 20.0 s
Three clusters using k-means clustering : Partition this given integer set into three clusters using K-means clustering
Compute the path-length difference : Follow these steps to solve this problem: Two identical loudspeakers, speaker 1 and speaker 2, are 2.0 m apart and are emitting 1700-Hz sound waves into a room where the speed of sound is 340 m/s. Compute the path-length difference r
Realize the policy covered before : What are two items that you didn't realize the policy covered before?
Find at what angle will the next pair of bright spots occur : A laser beam of unknown wavelength passes through a diffraction grating having 5460lines/cmafter striking it perpendicularly. At what angle will the next pair of bright spots occur
Find the maximun angle of a slope : Find the maximun angle of a slope on which a parked car would not be able to slide down. use the static coefficient of rubber on concrete(1.0)

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Determine the highest bit rate possible for a circuit

1. Determine the number of conditions possible for a binary code

  Question about materialism philosophy

The mind body dualism, in philosophy, maintains that mind and the brain are 2-distinct categories and one cannot be explained in terms of the other, Mental phenomena are not physical and cannot be explained in physical terms.

  Collecting information for data dictionary

Pproblems generated by going directly to manager with questions regarding data dictionary entries? Describe to the team member how he can better collect information for the data dictionary.

  How can these limitations be overcome

What are the data limitations that occur when creating cookies from JavaScript® language? How can these limitations be overcome?

  Maslow hierarchy of needs

Discuss and explain how the theory designates the team member roles and responsibilities also discuss how Maslow's Hierarchy of Needs applies to professional work dynamics.

  Calculate access time when there is cache miss

Calculate the access time when there is cache miss? Suppose that cache waits until line has been fetched from main memory and then re-executes for a hit.

  Find the grammar generated by the language

Find the grammar generated by the language L=(a^i b^j | i!= j)

  Write a procedure homming

Submit your programs by email. The program should have as many comments as necessary. The top comments should explain how to run and test the program. If any two assignments have the same code, zero marks will be assigned to the assignments.

  How would you use one of the standard mib objects

How would you use one of the standard MIB objects to determine which one of the stations in a LAN is functioning as a bridge to the external network?

  How many outcomes have at least one 1

In this version, there are C(6+3-1,3) = 56 different outcomes in Chuck-a-Luck. Order doesn't matter, just the number's that come up. Out of those 56, how many outcomes have at least one 1?

  What is the proper syntax of declaring a c-style string

Take a look at the following program -- #include using namespace std; int main( ) { char name[100]; //declare a character array cout > name; cout

  What is the result of the following command

Sometimes when writing code, we need to cast a data type to a different data type. For example, you might need to change an int to a double or vice versa.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd