Hi,
I have generated clusters using the KMeans algorithm and would like to use
the labels of the model in the KNN.

I don't have the implementation idea but I can visualize it as

KNNmodel = KNN.fit(X, KMeansModel.labels_)

Such that the KNN will predict the cluster the new point belong to.

-- 
Regards
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to