Winning Model Source Code
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

MLSP 2013 Bird Classification Challenge - Winning Model Details about the competition:

I have written my model in Python 2.7.3. I used the following libraries:

  • numpy
  • pandas
  • scipy
  • pickle
  • scikit-image
  • wave
  • matplotlib
  • scikit-learn

Harware/OS: Intel Core i5 2500 with 16 GB RAM Windows 7

Short explanation:

The process is splitted into four parts:

  3. 2b_data_preparation_logarithm

The first three files contain the data preparation steps and the fourth will train RandomForestRegressors and create the submission files.

  1. creates the spectrograms and does multiple the image processing steps to capture interesting patches.

2-3) After the patches are extracted the next step is feature generation using template matching. These are the most time consuming steps (10-12 hours) but you can run them parallel.

  1. Finally I merge my features with the provided histogram of segments and location information. During cross validation the submission files will be exported if the cv AUC is higher than 0.93.

The current settings should produce submissions around 0.954 private leaderboard score. A bit more about my solution can be found here:

How to reproduce the results:

Each file contains a 'folder' variable which should be manually corrected before running the code. The easiest way is to download and extract the compressed model file which already has the required folder structure. After the extraction you will need to copy the essential dataset into the 'essential_data' folder (mainly the audio source files and labeling informations). The competition dataset can be downloaded from here . After the 'folder' variable has been modified you can start run the python sources in increasing alphabetic order. If you want to skip a few steps you can jump right to the training part since the 'DP' folder contains the neccessary features. At the end you will find the resulted files in the 'Submission' folder.