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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -