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)
Please ignore my question. I got it to work out now. Thanks!
Hi Christine,
glad you found a solution to the problem! Let me know if something else comes up.
Best,
365 Eli