You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I refer you to the fit method of the KMeansFeaturizer class for the code listing mentioned in the subject.
When the pretrain approach was used (i.e. including information from the class labels), the second re run of the k-means algorithm to get the clusters in the original space was initialized with the init argument as init=km_model_pretrain.cluster_centers_[:,:2].
I think this will only work with a two feature dataset and will break for a dataset with additional features.
Can you please clarify your approach.
Thanks
The text was updated successfully, but these errors were encountered:
I refer you to the fit method of the KMeansFeaturizer class for the code listing mentioned in the subject.
When the pretrain approach was used (i.e. including information from the class labels), the second re run of the k-means algorithm to get the clusters in the original space was initialized with the init argument as init=km_model_pretrain.cluster_centers_[:,:2].
I think this will only work with a two feature dataset and will break for a dataset with additional features.
Can you please clarify your approach.
Thanks
The text was updated successfully, but these errors were encountered: