File size: 2,040 Bytes
4f41710
8c39649
 
 
 
 
4f41710
 
8c39649
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---

language:
- en
pipeline_tag: tabular-classification
tags:
- Computational Neuroscience 
license: mit
---


## Model description
This model is part of the UnitRefine project and it is a direct port of [this model](https://huggingface.co/AnoushkaJain3/sua_mua_classifier_lightweight).
The model is trained on recordings from 11 mice in the V1, SC, and ALM brain regions using Neuropixels probes.
Each recording was labeled by at least two independent annotators, with different combinations of labelers, achieving an 80% agreement rate.
This model utilizes a subset of metrics that are computationally efficient while maintaining robust classification performance.

# Intended use
Used to identify Noise clusters automatically in SpikeInterface.

# How to Get Started with the Model
This can be used to automatically identify SUA units in spike-sorted outputs. If you have a sorting_analyzer, it can be used as follows:



``` python

    from spikeinterface.curation import auto_label_units

    labels = auto_label_units(

        sorting_analyzer = sorting_analyzer,

        repo_id = "SpikeInterface/UnitRefine_sua_mua_classifier_lightweight",
        trusted = ['numpy.dtype']

    )

```


## 📜 Citation  

If you find [UnitRefine](https://github.com/anoushkajain/UnitRefine) models useful in your research, please cite the following DOI:  
**[10.6084/m9.figshare.28282841.v2](https://doi.org/10.6084/m9.figshare.28282841.v2)**.  

We will be releasing a **preprint soon**. In the meantime, please use the above DOI for referencing.  

## 🔗 Resources  

- **GitHub Repository:** [UnitRefine](https://github.com/anoushkajain/UnitRefine)  
- 📖 **SpikeInterface Tutorial – Automated Curation:**  
  [View Here](https://spikeinterface.readthedocs.io/en/latest/tutorials_custom_index.html#automated-curation-tutorials)  

UnitRefine is **fully integrated with SpikeInterface**, making it easy to incorporate into existing workflows. 🚀  


# Authors

Anoushka Jain and Chris Halcrow