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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -