Package pylearn :: Package datasets :: Module tagatune
[hide private]

Module tagatune

source code

Access the TagATune dataset from

http://tagatune.org/Datasets.html

Classes [hide private]
TagatuneExample
input - index into tagatune database (not clip_id) output - clip_id, attributes, path to clip's mp3 file
Functions [hide private]
 
read_annotations_final(path)
Return a parsed (column-wise) representation of the tagatune/annotations_final.csv file
source code
 
cached_read_annotations_final(path) source code
 
test_read_annotations_final() source code

Imports: os, numpy, theano, data_root


Function Details [hide private]

read_annotations_final(path)

source code 

Return a parsed (column-wise) representation of the tagatune/annotations_final.csv file

:param path: an openable string to locate the file tagatune/annotations_final.csv

:returns: 4-tuple (list of clip_ids, list of attribute lists, list of mp3 paths, list of attribute names)