quick look at machine learning and printed iteration cluster with centroid contains cluster with centroid contains iteration cluster with centroid contains cluster with centroid contains iteration cluster with centroid contains cluster with centroid contains iteration cluster with centroid contains cluster with centroid contains iteration cluster with centroid contains cluster with centroid contains final result cluster with centroid contains cluster with centroid contains notice that the initial (randomly chosencentroids led to highly skewed clustering in which single cluster contained all but one of the points by the fifth iterationhoweverthe centroids had moved to places such that the points from the two distributions were cleanly separated into two clusters given that straight line can be used to separate the points generated from the first distribution from those generated by from the second distributionit is not terribly surprising that -means converged on this clustering when we tried trials rather than by calling contrivedtest( false)it printed final result cluster with centroid contains cluster with centroid contains this indicates that the solution found using trialdespite perfectly separating the examples by the distribution from which they were chosenwas not as good