Error in the K-means clustering plot
I followed exactly what the coding is and got the following error message when trying to run the codes for plotting:
x and y must have same first dimension, but have shapes (10,) and (0,)
Why did I get such error? Thanks.
2 answers ( 0 marked as helpful)