{"action":"created","issue":{"url":"https://api.github.com/repos/MTG/essentia/issues/368","labels_url":"https://api.github.com/repos/MTG/essentia/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/MTG/essentia/issues/368/comments","events_url":"https://api.github.com/repos/MTG/essentia/issues/368/events","html_url":"https://github.com/MTG/essentia/issues/368","id":129448356,"number":368,"title":"Training classifier models in Gaia","user":{"login":"purushottamekande","id":16938099,"avatar_url":"https://avatars.githubusercontent.com/u/16938099?v=3","gravatar_id":"","url":"https://api.github.com/users/purushottamekande","html_url":"https://github.com/purushottamekande","followers_url":"https://api.github.com/users/purushottamekande/followers","following_url":"https://api.github.com/users/purushottamekande/following{/other_user}","gists_url":"https://api.github.com/users/purushottamekande/gists{/gist_id}","starred_url":"https://api.github.com/users/purushottamekande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purushottamekande/subscriptions","organizations_url":"https://api.github.com/users/purushottamekande/orgs","repos_url":"https://api.github.com/users/purushottamekande/repos","events_url":"https://api.github.com/users/purushottamekande/events{/privacy}","received_events_url":"https://api.github.com/users/purushottamekande/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-28T13:09:37Z","updated_at":"2016-01-29T15:39:12Z","closed_at":null,"body":"Hello,\r\n\r\nI installed Essentia, Gaia, pre-trained models and could get the Essentia Genre classification output by using the streaming_extractors as in the manual.  Further I want to train classifier model using my own data.  For this I created descriptor yaml files from the music files; created groundtruth file and filelist.yaml and ran the following python script in Gaia.\r\n\r\npython scripts/classification/train_model.py groundtruth.yaml result_filelist.yaml testsvm.prj testsvmdir testsvm.history\r\n\r\nThis seems to create the classification result and cross-verification result.  But the model output file (which I mentioned as the last argument in the python command above) hasn't come out to be text file but a binary file.  Anything wrong in the the sequence of training classifier model?  Please suggest.  \r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/MTG/essentia/issues/comments/176823311","html_url":"https://github.com/MTG/essentia/issues/368#issuecomment-176823311","issue_url":"https://api.github.com/repos/MTG/essentia/issues/368","id":176823311,"user":{"login":"alastair","id":19217,"avatar_url":"https://avatars.githubusercontent.com/u/19217?v=3","gravatar_id":"","url":"https://api.github.com/users/alastair","html_url":"https://github.com/alastair","followers_url":"https://api.github.com/users/alastair/followers","following_url":"https://api.github.com/users/alastair/following{/other_user}","gists_url":"https://api.github.com/users/alastair/gists{/gist_id}","starred_url":"https://api.github.com/users/alastair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alastair/subscriptions","organizations_url":"https://api.github.com/users/alastair/orgs","repos_url":"https://api.github.com/users/alastair/repos","events_url":"https://api.github.com/users/alastair/events{/privacy}","received_events_url":"https://api.github.com/users/alastair/received_events","type":"User","site_admin":false},"created_at":"2016-01-29T15:39:12Z","updated_at":"2016-01-29T15:39:12Z","body":"Please note that we only give best effort support in this channel, and don't have time to respond to all tickets immediately. Asking for an update less than 1 day after you post the question isn't going to result in a faster response.\r\n\r\nYou are correct that the output file is a binary file. There is some further documentation of the format of this file here: http://essentia.upf.edu/documentation/streaming_extractor_music.html#high-level-classifier-models\r\n\r\n> Each model (a *.history file) is basically a transformation history that maps a pool (a feature vector) of such lower-level descriptors produced by extractor into probability values of classes on which the model was trained.\r\n\r\nYou can use the `streaming_extractor_music_svm` example included in essentia to evaluate a json input document using a model file.\r\n"}}