Closed tuanpham96 closed 4 years ago
Hmm... Actually, I think the current version of code is correct because slide
is only matters when you calculate the similarity matrix.
Could you provide a detailed example that causes an error?
I have encountered a problem when min_cluster_size
is too large because HDBSCAN
failed to detect any cluster.
Close it in the meantime. Feel free to reopen it if you still have the problem :)
I have occasionally ran into problems when I used certain
min_cluster_size
during clustering, and that affectedgen_profile
step. Apparently there was some dimension mismatch between the matrices whengen_profile
is being run in this line: https://github.com/KeitaW/spykesim/blob/a18ddc4680f893b20d4c2c214228e5912649d646/spykesim/editsim.pyx#L204I believe it has to do with how
mats
are produced below, which does not take into account the sliding width, or assumes thatslide=window
https://github.com/KeitaW/spykesim/blob/a18ddc4680f893b20d4c2c214228e5912649d646/spykesim/editsim.pyx#L193Is that a bug? If so, can it be fixed with something like this: