I have data which contain access duration of each items.

EX: t0~t4 is the access time duration. 1 means the item was accessed in the
time duration, 0 means not.
ID,t0,t1,t2,t3,t4
0,1,0,0,1
1,1,0,0,1
2,0,0,1,1
3,0,1,1,1

What I want to cluster is the length of continuous duration
Ex:
ID=3 > 2 > 1 = 0

Can any distance metric to help clustering based on the length of
continuous duration?
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to