eren-ck / st_dbscan

ST-DBSCAN: Simple and effective tool for spatial-temporal clustering
MIT License
131 stars 25 forks source link

Fix fit_frame_split() erasing data #13

Open DPS100 opened 3 months ago

DPS100 commented 3 months ago

Fixes #12

DPS100 commented 3 months ago

I not only fixed the mentioned issue, but I also changed the frame_split away from using only unique time values and updated it to use all. I'm not sure why duplicates are dropped, that should be up to the user in a preprocessing step. I also updated the demo to reflect this, and that it still works with fit frame split (although it took around 7 minutes to process - I'm not sure how long it normally takes with a single fit as I stopped it after 10 minutes)