0
Python CODE PROJECT 41 calculating cluster's centroid Test case #3 failing
only Test# 3 is failing, it's hidden test case, followed instruction as mentioned in problem statement. Take two random centroid [0 0] and [2 2] Read data points from standard input Find 0-th and 1-st centroid distance for each input data points, average both centroid data points. Founded data points needs to be repeated for newly calculated centroid is it so.
1 Odpowiedź