python - scikit-learn: Identification property in clustering dataset -


while performing kmeans clustering in scikit-learn, need feed dataset of shape (n_samples, n_features). each sample of dataset corresponds user, identified user_id, not feature. so, if feed dataset in format, lose identification info each sample.

so, how store user_ids in dataset?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -