Cluster the given items into two groups

Assignment Help Electrical Engineering
Reference no: EM131248732

K-means clustering:-

Suppose that there are n records (or items) each with m attributes that can be expressed in numerical form, so that each item corresponds to a vector in m-dimensional space.

These can be grouped into k clusters with the k-means algorithm: First, k records are chosen as seeds.

Next, each other item is assigned to the seed closest to it in terms of Euclidean distance in the m-dimensional space. These assignments define k clusters.

Next, the centroid of each cluster is formed (being the point that minimizes the total squared distance to all points in the cluster), and these centroids replace the original seeds.

The algorithm then proceeds by reassigning each point to the centroid closest to it. This defines a revised clustering. The steps are repeated, calculating new centroids and obtaining new clusters, until the resulting change in clusters is small. Using this method, cluster the following items into two groups:

[2, 4, 10, 12, 3, 20, 30, 11, 25].

Begin by assigning the first two items as seeds, and arbitrarily assign 3 to the seed 2 (rather than to 4 since there is a tie).

Reference no: EM131248732

Questions Cloud

Which best illustrates a collective-action problem : Which of the following best illustrates a collective-action problem? Which of the following can said to be true of deadweight loss?
Provide an overall evaluation of the play : Provide an overall evaluation of the play and your response to this specific dramatic production/film. What did you like/not like? What choices does this dramatization make in adapting the play
Explain the theories of adult learning principles : Compare the differences between child/adolescent and adult learning models (pedagogy and andragogy). Discuss the concept of learning styles, personalities, and how these concepts are combined with adult learning in organizational training and deve..
Organise a magazine advertisement : Create a simple action plan of the steps that an organisation might need to take to organise a magazine advertisement for its goods and services. You should identify at least seven steps.
Cluster the given items into two groups : The steps are repeated, calculating new centroids and obtaining new clusters, until the resulting change in clusters is small. Using this method, cluster the following items into two groups:
Culture in the us with mexico : Compare and contrast the culture in the U.S. with Mexico. Discus how you would take into account such differences in your international strategy.
Draw a project network diagram : Assuming that one worker is required for each activity, prepare a resource-leveled schedule. What is the maximum number of workers required to finish the project on time?
Explain possible risks and barriers that pose a threat : Explain possible risks and barriers that pose a threat to the primary solution and explain how to minimize the threats. As a contingency plan, propose 1 alternative solution to the business dilemma for each course outcome based on the findings in t..
Fully organic energy drink : Assume you are a recent start-up company that manufactures and markets a new, fully organic energy drink. Draw up a simple plan for the selection / assessment of foreign target markets by outlining a set of criteria you intend to apply.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  What is the overall delay from the continuous-time input

What is the overall delay from the continuous-time input to the continuous-time output (in seconds) of the system in Figure P7.22?

  Determine the energy in the signals odd part

A signal x(t) can be represented as x(t)=xe(t)+xo(t) where xe(t)=(1/2){x(t)+x(-t)} is the even part, and xo(t)=(1/2){x(t)-x(-t)} is the odd part of the signal. Let x(t) be an energy signal with an energy of 20 Joules. Suppose the even part of x(t) is..

  What is approximate time taken by the car to reach electrode

A charge of 4 micro-Coulomb is applied to the surface of the car. If the car travels a distance of 2 meter between the two electrodes, and if the mass of the car is 200 grams, then what is the approximate time taken by the car to reach the second ..

  Is a statement of the boundary conditions

Hint: Treat this problem as a dielectric slab with a perfect conductor backing, and use the analytical methods of Chapter 9.

  Determine the time-dependent voltage and current at the load

A 200-MHz voltage source with output Vg = 200 V 0 and internal impedance of 100 Ω is connected to the input of the line. Determine the time-dependent voltage and current at the load, and the average power delivered to the load.

  Find a minimal sop expression for the function

Use K-map reverse engineering to evaluate if the following SOP functions are minimized If not, find the minimal SOP expression. (a) F(A,B,C,D) = A'C'D' + A'C + AB'C' + ACD' (b) F(W,X,Y,Z) = XY' + WX'Y' + W'XYZ + W'X'YZ'

  Determine the magnetizing current and the core-loss current

Sketch the appropriate equivalent circuit and phaser diagram and, assuming step-down operation, determine (a) the magnetizing current and the core-loss component of exciting current; (b) the exciting current; (c) the no-load power factor; (d) the ..

  Compare a lumped element model of a lossless transmission

Compare a lumped element model of a lossless transmission line (single L and C) with the distributed model. Use the following values for the transmission line in this comparative analysis.

  Explain choice in terms of current offset at summing point

In order to control the slope of a ramp produced by an integrator, the values of Vin, R, and C may be varied. Assuming a fixed value for C of 10 μF, would it be better to have a relative large Vin with a correspondingly large value of R

  Determine the reverse saturation current is

A particular diode was measured to have VD = 0.62 V at ID = 5.895 mA. Determine the following: a) the reverse saturation current IS. b) VD for a forward current of 100 mA. Assume VT = 25 mV.

  Calculate the currents flowing as field builds up at initial

A 65volt neon lamp is connected across a 8h coil with aresistance of 275. When the coil's field collapses, a 6k resisteris inserted into the circuit in series with the coil. The source is 25 volts D.C.

  Find the line currents and the phase current in each load

In a balanced three-phase system, the abc phase sequence source is wye connected and Van=120

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