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

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

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -