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.

30th Aug 2021, 5:39 AM
DHANANJAY PATEL
DHANANJAY PATEL - avatar
1 Answer
30th Aug 2021, 5:40 AM
DHANANJAY PATEL
DHANANJAY PATEL - avatar