{"action":"created","issue":{"url":"https://api.github.com/repos/google/skflow/issues/6","labels_url":"https://api.github.com/repos/google/skflow/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/google/skflow/issues/6/comments","events_url":"https://api.github.com/repos/google/skflow/issues/6/events","html_url":"https://github.com/google/skflow/issues/6","id":118478720,"number":6,"title":"Multi-output regression and classification","user":{"login":"ilblackdragon","id":175486,"avatar_url":"https://avatars.githubusercontent.com/u/175486?v=3","gravatar_id":"","url":"https://api.github.com/users/ilblackdragon","html_url":"https://github.com/ilblackdragon","followers_url":"https://api.github.com/users/ilblackdragon/followers","following_url":"https://api.github.com/users/ilblackdragon/following{/other_user}","gists_url":"https://api.github.com/users/ilblackdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ilblackdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilblackdragon/subscriptions","organizations_url":"https://api.github.com/users/ilblackdragon/orgs","repos_url":"https://api.github.com/users/ilblackdragon/repos","events_url":"https://api.github.com/users/ilblackdragon/events{/privacy}","received_events_url":"https://api.github.com/users/ilblackdragon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/skflow/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/google/skflow/labels/v0.1","name":"v0.1","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-23T21:40:34Z","updated_at":"2015-12-23T09:58:00Z","closed_at":null,"body":"There are number of problems that require multiple outputs (including RNNs).\r\nSupport needs to be added across all models and data feeders."},"comment":{"url":"https://api.github.com/repos/google/skflow/issues/comments/166851566","html_url":"https://github.com/google/skflow/issues/6#issuecomment-166851566","issue_url":"https://api.github.com/repos/google/skflow/issues/6","id":166851566,"user":{"login":"boscotsang","id":7187749,"avatar_url":"https://avatars.githubusercontent.com/u/7187749?v=3","gravatar_id":"","url":"https://api.github.com/users/boscotsang","html_url":"https://github.com/boscotsang","followers_url":"https://api.github.com/users/boscotsang/followers","following_url":"https://api.github.com/users/boscotsang/following{/other_user}","gists_url":"https://api.github.com/users/boscotsang/gists{/gist_id}","starred_url":"https://api.github.com/users/boscotsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boscotsang/subscriptions","organizations_url":"https://api.github.com/users/boscotsang/orgs","repos_url":"https://api.github.com/users/boscotsang/repos","events_url":"https://api.github.com/users/boscotsang/events{/privacy}","received_events_url":"https://api.github.com/users/boscotsang/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T09:58:00Z","updated_at":"2015-12-23T09:58:00Z","body":"For multiclass classification we can infer the number of class from the number of unique labels. Then we can transform the label to one hot code representing the class. Therefore we don't need to specify the number for class so the output_shape can be specified by the shape of y. By this way the output of binary or multi regression and classification can be represented by a tensor that the first axis is the number of batch_size and the last size is the number of output. How you do think about it?"}}