{"action":"opened","issue":{"url":"https://api.github.com/repos/aydindemircioglu/SVMBridge/issues/42","repository_url":"https://api.github.com/repos/aydindemircioglu/SVMBridge","labels_url":"https://api.github.com/repos/aydindemircioglu/SVMBridge/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/aydindemircioglu/SVMBridge/issues/42/comments","events_url":"https://api.github.com/repos/aydindemircioglu/SVMBridge/issues/42/events","html_url":"https://github.com/aydindemircioglu/SVMBridge/issues/42","id":133467606,"number":42,"title":"predict method interface is somewhat counterintuitive","user":{"login":"berndbischl","id":1225974,"avatar_url":"https://avatars.githubusercontent.com/u/1225974?v=3","gravatar_id":"","url":"https://api.github.com/users/berndbischl","html_url":"https://github.com/berndbischl","followers_url":"https://api.github.com/users/berndbischl/followers","following_url":"https://api.github.com/users/berndbischl/following{/other_user}","gists_url":"https://api.github.com/users/berndbischl/gists{/gist_id}","starred_url":"https://api.github.com/users/berndbischl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berndbischl/subscriptions","organizations_url":"https://api.github.com/users/berndbischl/orgs","repos_url":"https://api.github.com/users/berndbischl/repos","events_url":"https://api.github.com/users/berndbischl/events{/privacy}","received_events_url":"https://api.github.com/users/berndbischl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-13T19:57:53Z","updated_at":"2016-02-13T19:57:53Z","closed_at":null,"body":"I have to do this here\r\n\r\n```\r\np = testSVM(model = m$model, testDataX = x, testDataY = y)\r\n```\r\n\r\nIt might be ok to have that method in your package like this.\r\nbut you should also have an S3 predict type function in there.\r\n\r\n\r\n"}}