Skip to content

colinbrandonpierce/Cat-meow-classification

Repository files navigation

Cat-meow-classification


PROBLEM
What is your cat saying? Many cat owners feel like they know what their cat is saying. But could understanding cat meows be done in a data-based manner? This notebook attempts to do this on a dataset of cat meow audio files captured in one of three contexts: while being brushed, while isolated, or when waiting for food.

Dataset: CatMeows: A Publicly-Available Dataset of Cat Vocalizations (https://zenodo.org/record/4008297)

APPROACH
A standard approach to understand an audio file is to analyze its spectrogram, which provides the sounds frequencies and intensities over time. Training on the entirety of a cat meow spectrogram is computationally intensive, so an algorithm [1] was developed to extract the dominant harmonic as an approximation of the cat meow. Training was done on the loudest frequency, the max power of the meow, and the meow's length.

RESULTS
Plotting our features showed no clear patterns, except perhaps that cats sometimes meow louder when isolated. Many of the audio files were poorly captured and did not display clear harmonics as they should. All cats have different psychologies and can have similar meows in different situations, so a different approach may be able to tackle this problem.

[1] The algorithm recursively crawls neighbors starting from the loudest frequency in the spectrogram matrix. The assumption is that a meow can be understood with only the loudest harmonic.

About

Classification of extracted cat meows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors