Closed Francis-oa7 closed 8 months ago
I save the cluster centres from my initialization for future use with pickle. But when a pass the cluster centres I get an error: ValueError: invalid literal for int() with base 10: 'Medicine'. I have attached my code.
Well I found the problem. I was supposed to serialize "model._enc_cluster_centroids" and not "model._cluster_centroids".
I save the cluster centres from my initialization for future use with pickle. But when a pass the cluster centres I get an error: ValueError: invalid literal for int() with base 10: 'Medicine'. I have attached my code.