Skip to content

usc-sail/mupet-subspace-clustering

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

MUPET: Sparse subspace clustering

This repo contains code to cluster mouse vocalizations using sparse subspace clustering.

Instructions

  1. Download a sample dataset from here.

  2. Preprocess the data

    • Use MUPET to create a dataset
    • Load workplace/datasets/~.mat and run prepare_data.m to collect the syllables detected by MUPET
    • A file such as C57_all_RUs.mat is generated
    • Note: for the DBA dataset, we only use the first 9000 syllables
    • Run segment_whole_dataset.m to separate the whole dataset into inlier dataset and outlier dataset
  3. Clustering: you can use jupyter notebook "main" to get the results step by step

  4. Plot centers and cluster outliers: run look_center.m to depict the cluster centers

About

Code for subspace clustering of mouse ultrasonic vocalizations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published