MUPET: Sparse subspace clustering
This repo contains code to cluster mouse vocalizations using sparse subspace clustering.
Download a sample dataset from here.
Preprocess the data
- Use MUPET to create a dataset
prepare_data.mto collect the syllables detected by MUPET
- A file such as
- Note: for the DBA dataset, we only use the first 9000 syllables
segment_whole_dataset.mto separate the whole dataset into inlier dataset and outlier dataset
Clustering: you can use jupyter notebook "main" to get the results step by step
Plot centers and cluster outliers: run
look_center.mto depict the cluster centers