Skip to content

Commit

Permalink
Merge pull request #3635 from alejoe91/fix-hybrid-example
Browse files Browse the repository at this point in the history
Fix precision/recall in hybrid example
  • Loading branch information
alejoe91 authored Jan 22, 2025
2 parents 749a349 + 8a20f22 commit 8a59f70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions doc/how_to/benchmark_with_hybrid_recordings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2531,9 +2531,8 @@ Although non of the sorters find all units perfectly, ``Kilosort2.5``,
``Kilosort4``, and ``SpyKING CIRCUS 2`` all find around 10-12 hybrid
units with accuracy greater than 80%. ``Kilosort4`` has a better overall
curve, being able to find almost all units with an accuracy above 50%.
``Kilosort2.5`` performs well when looking at precision (finding all
spikes in a hybrid unit), at the cost of lower recall (finding spikes
when it shouldn’t).
``Kilosort2.5`` performs well when looking at precision (not finding spikes
when it shouldn’t), but it has a lower recall (finding all spikes in the ground truth).

In this example, we showed how to:

Expand Down
3 changes: 2 additions & 1 deletion examples/how_to/benchmark_with_hybrid_recordings.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@
# From the performance plots, we can see that there is no clear "winner", but `Kilosort3` definitely performs worse than the other options.
#
# Although non of the sorters find all units perfectly, `Kilosort2.5`, `Kilosort4`, and `SpyKING CIRCUS 2` all find around 10-12 hybrid units with accuracy greater than 80%.
# `Kilosort4` has a better overall curve, being able to find almost all units with an accuracy above 50%. `Kilosort2.5` performs well when looking at precision (finding all spikes in a hybrid unit), at the cost of lower recall (finding spikes when it shouldn't).
# `Kilosort4` has a better overall curve, being able to find almost all units with an accuracy above 50%. `Kilosort2.5` performs well when looking at precision (not finding spikes
# when it shouldn’t), but it has a lower recall (finding all spikes in the ground truth).
#
#
# In this example, we showed how to:
Expand Down

0 comments on commit 8a59f70

Please sign in to comment.