{"action":"created","issue":{"url":"https://api.github.com/repos/kogalur/randomForestSRC/issues/10","repository_url":"https://api.github.com/repos/kogalur/randomForestSRC","labels_url":"https://api.github.com/repos/kogalur/randomForestSRC/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/kogalur/randomForestSRC/issues/10/comments","events_url":"https://api.github.com/repos/kogalur/randomForestSRC/issues/10/events","html_url":"https://github.com/kogalur/randomForestSRC/issues/10","id":322373158,"number":10,"title":"Test data requires y column for prediction","user":{"login":"saosebastiao","id":1130320,"avatar_url":"https://avatars2.githubusercontent.com/u/1130320?v=4","gravatar_id":"","url":"https://api.github.com/users/saosebastiao","html_url":"https://github.com/saosebastiao","followers_url":"https://api.github.com/users/saosebastiao/followers","following_url":"https://api.github.com/users/saosebastiao/following{/other_user}","gists_url":"https://api.github.com/users/saosebastiao/gists{/gist_id}","starred_url":"https://api.github.com/users/saosebastiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saosebastiao/subscriptions","organizations_url":"https://api.github.com/users/saosebastiao/orgs","repos_url":"https://api.github.com/users/saosebastiao/repos","events_url":"https://api.github.com/users/saosebastiao/events{/privacy}","received_events_url":"https://api.github.com/users/saosebastiao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-11T17:22:16Z","updated_at":"2018-05-18T13:36:19Z","closed_at":"2018-05-18T13:36:19Z","author_association":"NONE","body":"I have a problem where I'm trying to predict 15 minutes into the future. I've set up my model and have good results, but when I try to apply the model to current data where my y-vals are still unknown, the predict(model,test) won't give me any output for those rows. \r\n\r\nI've tried:\r\n1) Not supplying the yvar data in the data.frame for `predict()`. This silently errors, predicting 0 for all rows. \r\n\r\n2) Using `na.action = \"na.impute\". This gives me correct output, but spends a significant amount of time (6x longer than predict with \"na.omit\" in my case). Since there are no NAs in my xvars, I'm assuming it is imputing values for irrelevant data, such as unused variables in my data.frame or yvars. \r\n\r\n3) Supplying yvars as part of a separate data.frame (ex. `rfsrc(yvars$yval ~ xvar1 + xvar2, data=train)`). This fails with `Error in parseFormula(formula, data, ytry) : \r\n  formula is incorrectly specified.`\r\n\r\nIs there any way that I can supply y vars separately, such that they aren't needed for the prediction phase? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kogalur/randomForestSRC/issues/comments/390209144","html_url":"https://github.com/kogalur/randomForestSRC/issues/10#issuecomment-390209144","issue_url":"https://api.github.com/repos/kogalur/randomForestSRC/issues/10","id":390209144,"user":{"login":"kogalur","id":6853644,"avatar_url":"https://avatars0.githubusercontent.com/u/6853644?v=4","gravatar_id":"","url":"https://api.github.com/users/kogalur","html_url":"https://github.com/kogalur","followers_url":"https://api.github.com/users/kogalur/followers","following_url":"https://api.github.com/users/kogalur/following{/other_user}","gists_url":"https://api.github.com/users/kogalur/gists{/gist_id}","starred_url":"https://api.github.com/users/kogalur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogalur/subscriptions","organizations_url":"https://api.github.com/users/kogalur/orgs","repos_url":"https://api.github.com/users/kogalur/repos","events_url":"https://api.github.com/users/kogalur/events{/privacy}","received_events_url":"https://api.github.com/users/kogalur/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T13:36:19Z","updated_at":"2018-05-18T13:36:19Z","author_association":"OWNER","body":"This repository has been updated to release 2.6.1 with the fix.  CRAN should be live with the fix momentarily.  Thanks!"}}
{"actor":{"display_login":"kogalur"}}