search for: userclust

Displaying 1 result from an estimated 1 matches for "userclust".

Did you mean: user_list
2012 Nov 13
1
help formatting data for clustering
...looking for the right procedure to be able to cluster users. I am especially interested to know which functions to use at each step. I am currently able to load the data in a data frame, each row's name being the user id. #extract user brands, ie all collumn except the first user_brands <- userclustering[,-1] # extract user ids, ie the first column user_ids <- userclustering[,1] # set user ids as row name row.names(user_brands) <- user_ids But now I'm stuck replacing the brand ids by a count for each brand the user ordered, all other brand counters being implicitely 0 for that us...