Tag: matlab

Automated classification of self-grooming in mice

In the Journal of Neuroscience Methods, Bastijn van den Boom and colleagues have shared their ‘how-to’ instructions for implementing behavioral classification with JAABA, featuring bonsai and motr!


In honor of our 100th post on OpenBehavior, we wanted to feature a project that exemplifies how multiple open-source projects can be implemented to address a common theme in behavioral neuroscience: tracking and classifying complex behaviors! The protocol from Van den Boom et al.  implements JAABA, an open-source machine learning based behavior detection system; motr, an open-source mouse trajectory tracking software; and bonsai, an open-source system capable of streaming and recording video. Together they use these tools to process videos of mice performing grooming behaviors in a variety of behavioral setups.

They then compare multiple tools for analyzing grooming behavior sequences in both wild-type and genetic knockout mice with a tendency to over groom. The JAABA trained classifier outperforms the commercially available behavior analysis software and more closely aligns with manual analysis of behavior by expert observers. This offers a novel, cost-effective and easy to use method for assessing grooming behavior in mice comparable to that of an expert observer, with the efficient advantage of being automatic. How to instructions for how to train your own JAABA classifier can be found in their paper!

Read more in their publication here!


DeepSqueak

January 9, 2019

Kevin Coffey has shared the following about DeepSqueak, a deep learning-based system for detection and analysis of ultrasonic vocalizations, which he developed with Russell Marx.


Rodents engage in social communication through a rich repertoire of ultrasonic vocalizations (USVs). Recording and analysis of USVs can be performed noninvasively in almost any rodent behavioral model to provide rich insights into the emotional state and motor function. Despite strong evidence that USVs serve an array of communicative functions, technical and financial limitations have inhibited widespread adoption of vocalization analysis. Manual USV analysis is slow and laborious, while existing automated analysis software are vulnerable to broad spectrum noise routinely encountered in the testing environment.

To promote accessible and accurate USV research, we present “DeepSqueak”, a fully graphical MATLAB package for high-throughput USV detection, classification, and analysis. DeepSqueak applies state-of-the-art regional object detection neural networks (Faster-RCNN) to detect USVs. This dramatically reduces the false positive rate to facilitate reliable analysis in standard experimental conditions. DeepSqueak included pre-trained detection networks for mouse USVs, and 50 kHz and 22 kHz rat USVs. After detection, USVs can be clustered by k-means models or classified by trainable neural networks.

Read more in their recent publication and check out DeepSqueak on Github!