2. (30 marks) You are asked to use the k-means algorithm to cluster the following 8...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. (30 marks) You are asked to use the k-means algorithm to cluster the following 8 examples into 3 clusters: P1=(2,10), P2=(2,6), P3=(8,4), P4=(5,8), P5=(7,4), P6=(6,4), P7=(1,2), P8=(4,9). (a) Compute the distance matrix based on the Euclidean distance. (b) Suppose that the initial seeds (centroids of each cluster) are A1, A4 and A7. Run the k- means algorithm for 1 iteration ONLY and then write down: i) The new clusters (i.e. the examples belonging to each cluster) ii) The centroids of the new clusters 2. (30 marks) You are asked to use the k-means algorithm to cluster the following 8 examples into 3 clusters: P1=(2,10), P2=(2,6), P3=(8,4), P4=(5,8), P5=(7,4), P6=(6,4), P7=(1,2), P8=(4,9). (a) Compute the distance matrix based on the Euclidean distance. (b) Suppose that the initial seeds (centroids of each cluster) are A1, A4 and A7. Run the k- means algorithm for 1 iteration ONLY and then write down: i) The new clusters (i.e. the examples belonging to each cluster) ii) The centroids of the new clusters
Expert Answer:
Related Book For
Foundations of Financial Management
ISBN: 978-1259194078
15th edition
Authors: Stanley Block, Geoffrey Hirt, Bartley Danielsen
Posted Date:
Students also viewed these programming questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Give Correct ANSWERS Human-Computer Interaction (a) If you had been one of the original inventors of the WIMP interface, and engineers on the technical team had been sceptical about the advantages...
-
All adiabatic temperature changes occur as a result of a. changes in the absolute humidity of the air. b. expansion or compression of the air. c. changes is specific humidity d. the addition or...
-
Euclid acquires a 7-year class asset on May 9, 2015, for $80,000. Euclid does not elect immediate expensing under 179. She does not claim any available additional first-year depreciation. Calculate...
-
Suppose you invest $1,100 for seven years at an annual percentage rate of 8 percent. a. What is the future value if interest is compounded annually? (Do not round intermediate calculations and round...
-
For laminar free convection flow on a vertical plate, the recommended values of \(C\) and \(n\) for use in the correlation of Equation 9.24 are 0.59 and 1/4, respectively. Derive the values of \(C\)...
-
In 2001, Gauldin and Corn entered into a partnership for the purpose of raising cattle and hogs. The two men were to share equally all costs, labor, losses, and profits. The business was started on...
-
If individual values that underline ethics are developed at a young age, what might this suggest about the potential for ethical conflicts to arise within an organization?
-
Erica and Bob participate in a friendly Hackathon that allows each to solve one question a day out of the three offered. There will be one easy, one medium and one hard question, with points awarded...
-
Depth (m) (a) Determine the elastic settlement expected to occur within a time span of 10 years using Schumertmann's Strain-Influence-Factor Method, (20%) Bo 0.5 1.0 1.5 20 2.5 3.0 3.5 4.0 4.5 5,0 0...
-
Review the Microsoft Windows 10 Hardening GUidelines https://www.microsoft.com/security/blog/2019/04/11/introducing-the-security-configuration-framework-a-prioritized-guide-to-hardening-windows-10/...
-
Please answer the following regarding the procedure for submitting costs to the owner for approval: a. After submitting the costs to the owner for approval, what is the procedure by which they are...
-
Overview: Identify how a distributed system differs from a network operating system. Compare Windows 10, popular Linux distribution, and Mac OS X 10x. Discuss the key features and identify the...
-
Intermediate 1 FSR Project Part #3: Current Liabilities Goal: To practice recording contingent liabilities and reporting them in the financial statements. (See Topic Guides LE 4, 7, 8). Information:...
-
If you borrow $500,000 at a rate of 7 percent and take 30 years to pay it off, what is the total amount you should expect to pay, including cost of money at the end of 30 years
-
Total Transaction Count 140 120 100 80 60 40 20 0 0 SUMMARY OUTPUT ANOVA Regression Statistics Multiple R R Square Adjusted R Square Standard Error Observations y = -0.004x + 69.283 R = 2E-06...
-
Determine the reactions in supports A and D and connections B and C. Sketch its shear and moment diagram and determine the magnitude ankoration of the maximum shear and moment for every member. 18 3...
-
Nowlin Pipe & Steel has projected sales of 72,000 pipes this year, an ordering cost of $6 per order, and carrying costs of $2.40 per pipe. a. What is the economic ordering quantity? b. How many...
-
Explain how rapidly expanding sales can drain the cash resources of a firm.
-
Assume a $40,000 investment and the following cash flows for two alternatives. Which of the alternatives would you select under the paybackmethod? Year Investment X Investment Y S6,000 8.000 9,000...
-
In Fig. 1130, there is no explicit invariant that states that a Transaction cannot be linked to movements that are linked to the same account, because the structure of the model already demands is....
-
Apply the Account/Transaction pattern to the parallel financial transactions of the example shown in Figs. 1131 to 1135. As the bills may be paid forward, it may be necessary to use memo entries....
-
Look at Fig. 1119 and create a new discount strategy that gives a percentage of discount for sales with more than a certain number of products. Order | < > < > +nr: Natural = < > +date: Date...
Study smarter with the SolutionInn App