C3_W1_Lab1_Clustering getting error 'numpy.ndarray' object is not callable

Any idea what this is about?

1 Like

X is numpy list and the way you access elements in a numpy list is the same way as in python lists X[k] not X(k)!

2 Likes

Been poring over this and just couldn’t see it. Clear as daylight now that you’ve pointed it out. Thank you so much.

2 Likes

It happens :slight_smile:

1 Like