I'm using Google Analytics on my mobile app to see how different users use the app. I draw a path based on the pages they move to. Given a list of paths for say a 100 users, how do I go about clustering the users. Which algorithm to use? By the way, I'm thinking of using sckit learn package for the implementation.
My dataset (in csv) would look like this :
DeviceID,Pageid,Time_spent_on_Page,Transition.<br> ABC,Page1, 3s, 1->2.<br> ABC,Page2, 2s, 2->4.<br> ABC,Page4,1s,4->1.<br>
So the path, here is 1->2->4->1, where 1,2,4 are Pageids.