{"action":"created","issue":{"url":"https://api.github.com/repos/mlpack/mlpack/issues/651","repository_url":"https://api.github.com/repos/mlpack/mlpack","labels_url":"https://api.github.com/repos/mlpack/mlpack/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/mlpack/mlpack/issues/651/comments","events_url":"https://api.github.com/repos/mlpack/mlpack/issues/651/events","html_url":"https://github.com/mlpack/mlpack/issues/651","id":156969188,"number":651,"title":"TrainTestSplit without Label","user":{"login":"keonkim","id":10793962,"avatar_url":"https://avatars.githubusercontent.com/u/10793962?v=3","gravatar_id":"","url":"https://api.github.com/users/keonkim","html_url":"https://github.com/keonkim","followers_url":"https://api.github.com/users/keonkim/followers","following_url":"https://api.github.com/users/keonkim/following{/other_user}","gists_url":"https://api.github.com/users/keonkim/gists{/gist_id}","starred_url":"https://api.github.com/users/keonkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keonkim/subscriptions","organizations_url":"https://api.github.com/users/keonkim/orgs","repos_url":"https://api.github.com/users/keonkim/repos","events_url":"https://api.github.com/users/keonkim/events{/privacy}","received_events_url":"https://api.github.com/users/keonkim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-26T12:10:12Z","updated_at":"2016-06-02T16:26:06Z","closed_at":"2016-06-02T16:26:06Z","body":"The current [TrainTestSplit](https://github.com/mlpack/mlpack/blob/master/src/mlpack/core/data/split_data.hpp#L102) only supports labeled dataset.\r\nI think it would be good to provide the same TrainTestSplit functions for unlabeled datasets.\r\n\r\nSo The function signature would be: \r\n```\r\ntemplate<typename T>\r\nstd::tuple<arma::Mat<T>, arma::Mat<T>>\r\nTrainTestSplit(const Mat<T>& input, const double testRatio )\r\n```"},"comment":{"url":"https://api.github.com/repos/mlpack/mlpack/issues/comments/223345450","html_url":"https://github.com/mlpack/mlpack/issues/651#issuecomment-223345450","issue_url":"https://api.github.com/repos/mlpack/mlpack/issues/651","id":223345450,"user":{"login":"keonkim","id":10793962,"avatar_url":"https://avatars.githubusercontent.com/u/10793962?v=3","gravatar_id":"","url":"https://api.github.com/users/keonkim","html_url":"https://github.com/keonkim","followers_url":"https://api.github.com/users/keonkim/followers","following_url":"https://api.github.com/users/keonkim/following{/other_user}","gists_url":"https://api.github.com/users/keonkim/gists{/gist_id}","starred_url":"https://api.github.com/users/keonkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keonkim/subscriptions","organizations_url":"https://api.github.com/users/keonkim/orgs","repos_url":"https://api.github.com/users/keonkim/repos","events_url":"https://api.github.com/users/keonkim/events{/privacy}","received_events_url":"https://api.github.com/users/keonkim/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T16:26:06Z","updated_at":"2016-06-02T16:26:06Z","body":"This is resolved at #650. Closing this issue."}}
{"actor":{"display_login":"keonkim"}}