{"action":"created","issue":{"url":"https://api.github.com/repos/arasmus/ladder/issues/5","labels_url":"https://api.github.com/repos/arasmus/ladder/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/arasmus/ladder/issues/5/comments","events_url":"https://api.github.com/repos/arasmus/ladder/issues/5/events","html_url":"https://github.com/arasmus/ladder/issues/5","id":108952377,"number":5,"title":"When balanced_classes=True in make_datastream the labeled data is not shuffled","user":{"login":"udibr","id":608789,"avatar_url":"https://avatars.githubusercontent.com/u/608789?v=3","gravatar_id":"","url":"https://api.github.com/users/udibr","html_url":"https://github.com/udibr","followers_url":"https://api.github.com/users/udibr/followers","following_url":"https://api.github.com/users/udibr/following{/other_user}","gists_url":"https://api.github.com/users/udibr/gists{/gist_id}","starred_url":"https://api.github.com/users/udibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udibr/subscriptions","organizations_url":"https://api.github.com/users/udibr/orgs","repos_url":"https://api.github.com/users/udibr/repos","events_url":"https://api.github.com/users/udibr/events{/privacy}","received_events_url":"https://api.github.com/users/udibr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-29T20:22:15Z","updated_at":"2015-09-30T11:38:19Z","closed_at":"2015-09-30T11:38:19Z","body":"When  balanced_classes=True in line\r\nhttps://github.com/arasmus/ladder/blob/master/run.py#L154\r\nthe examples from each class are add one after the other\r\nhowever there is no additional shuffling of `i_labeled`\r\nthe only shuffling (with `dseed`) is on the entire data set in `setup_data`\r\nbut then `make_datastream` is called and it sort outs the labeled examples from each class and undo the shuffling.\r\n\r\nThis can reduce SGD optimization."},"comment":{"url":"https://api.github.com/repos/arasmus/ladder/issues/comments/144370666","html_url":"https://github.com/arasmus/ladder/issues/5#issuecomment-144370666","issue_url":"https://api.github.com/repos/arasmus/ladder/issues/5","id":144370666,"user":{"login":"udibr","id":608789,"avatar_url":"https://avatars.githubusercontent.com/u/608789?v=3","gravatar_id":"","url":"https://api.github.com/users/udibr","html_url":"https://github.com/udibr","followers_url":"https://api.github.com/users/udibr/followers","following_url":"https://api.github.com/users/udibr/following{/other_user}","gists_url":"https://api.github.com/users/udibr/gists{/gist_id}","starred_url":"https://api.github.com/users/udibr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udibr/subscriptions","organizations_url":"https://api.github.com/users/udibr/orgs","repos_url":"https://api.github.com/users/udibr/repos","events_url":"https://api.github.com/users/udibr/events{/privacy}","received_events_url":"https://api.github.com/users/udibr/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T11:38:19Z","updated_at":"2015-09-30T11:38:19Z","body":"agree"}}