Last answered:

30 Nov 2023

Posted on:

21 Nov 2023

0

Mixed up order.

Hi there,
I have a question about the code. I rebuilt pretty much everything exactly as in the tutorial, but the order of the individual segments was reversed - which I noticed because the numbers didn't match the segment names.
What could be the reason for this?
Thanks in advance.

1 answers ( 0 marked as helpful)
Instructor
Posted on:

30 Nov 2023

0

Hi Rafael, 

thanks for reaching out! Yes, the order of the segments sometimes differs, and other students have reported the same issue. I'm not sure why exactly that happens, but it has to do with the k-means implementation in Python. As far as I know the segments are correct, but order is different sometimes, and in that case you just have to rename the segments accordingly. 

Hope this helps!


Best, 

365 Eli 

Submit an answer