[scikit-learn] Can cluster based on the continuous access duration of an item?

lampahome pahome.chen at mirlab.org
Fri Mar 29 03:38:05 EDT 2019


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

Can cluster the group which item will access for a continuous duration?

Like above, ID=2,ID=3 are what I want.

I try KMeans, DBSCAN but it seems doesn't well

Is there any algo recommended?

thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20190329/20814161/attachment.html>


More information about the scikit-learn mailing list