Tools for unsupervised classification of acoustic signals.
Project description
Tools for unsupervised classification of acoustic signals
DAS-unsupervised provides tools for pre-processing acoustic signals for unsupervised classification:
- extract waveforms or spectrograms of acoustic events from a recording
- normalize the duration, center frequency, amplitude, or sign of waveform/spectrograms
Unsupervised classification itself is performed using existing libraries:
- dimensionality reduction: umap
- clustering: hdbscan or scikit-learn
Can be used in combination with DAS, a deep learning based method for the supervised annotation of acoustic signals.
Installation
pip install das-unsupervised
Demos
Illustration of the workflow and the method using vocalizations from:
Acknowledgements
Code from the following open source packages was modified and integrated into das-unsupervised:
- avgn (Sainburg et al. 2020)
- noisereduce
- fly pulse classifier (Clemens et al. 2018)
Data sources:
- flies: David Stern (Stern, 2014)
- mice: data provided by Kurt Hammerschmidt (Ivanenko et al. 2020)
- birds: Bengalese finch song repository (Nicholson et al. 2017)
References
-
T Sainburg, M Thielk, TQ Gentner (2020) Latent space visualization, characterization, and generation of diverse vocal communication signals. Biorxiv . https://doi.org/10.1101/870311
-
J Clemens, P Coen, F Roemschied, T Perreira, D Mazumder, D Aldorando, D Pacheco, M Murthy (2018) Discovery of a New Song Mode in Drosophila Reveals Hidden Structure in the Sensory and Neural Drivers of Behavior. Current Biology 28, 2400–2412.e6 (2018). https://doi.org/10.1016/j.cub.2018.06.011
-
D Stern (2014). Reported Drosophila courtship song rhythms are artifacts of data analysis. BMC Biology
-
A Ivanenko, P Watkins, MAJ van Gerven, K Hammerschmidt, B Englitz (2020) Classifying sex and strain from mouse ultrasonic vocalizations using deep learning. PLoS Comput Biol 16(6): e1007918. https://doi.org/10.1371/journal.pcbi.1007918
-
D Nicholson, JE Queen, S Sober (2017). Bengalese finch song repository. https://doi.org/10.6084/m9.figshare.4805749.v5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file das_unsupervised-0.6.1.tar.gz
.
File metadata
- Download URL: das_unsupervised-0.6.1.tar.gz
- Upload date:
- Size: 9.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47dc7f07a9932743205cd74e585c6b96edcb1665a32865b44d1fc4b8d7370ae5 |
|
MD5 | 4c6223688e5c59492f6dd9bf8f052992 |
|
BLAKE2b-256 | 465f1a33d9140cf7a2138660c4307b5386d0789ec0851c552308aa4f8fd95802 |
File details
Details for the file das_unsupervised-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: das_unsupervised-0.6.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10cc0f32fc5745e5ceac27aafad1f33563b87d02bce5770b2ce131aa1ae00f3 |
|
MD5 | 42efa8f03dff03808267f1af486b3fb6 |
|
BLAKE2b-256 | d43cfea489ba2dd9f4751a843ae31020251571ed6f718558740ac83ba5ac4edc |