Skip to main content
10 events
when toggle format what by license comment
Aug 21, 2018 at 14:57 history edited mkt CC BY-SA 4.0
added 196 characters in body
Aug 21, 2018 at 14:43 history edited mkt CC BY-SA 4.0
deleted 8 characters in body
Jul 8, 2016 at 12:30 comment added progster I think so, the point 1) is now very clear thanks! about the point 2) and 3) I'm still reading stuff, I think your contribution is useful, but before asking more stuff, I want to study a little bit the problem! until now thanks again
Jul 8, 2016 at 6:44 comment added mkt @progster Does this address your questions?
Jul 7, 2016 at 12:01 comment added mkt Ah, you're right, that is 'group' in my example. This prediction goal only makes sense if you do not have the 'target variable' in your new data. If you do, there's nothing to predict.
Jul 7, 2016 at 11:54 comment added progster for 'target variable' I mean the outcome you want to predict (like "churn" vs "not churn", like "y" in logistic regression equation, in your example should be "group", right?
Jul 7, 2016 at 11:41 comment added mkt 1) I'm not exactly sure what you mean by 'target variable'. The new data must have any variables you trained the random forest on. 2) Exactly. You do not get an simple parametric relationship from the random forest. Each underlying tree has a sequence of rules that when aggregated across trees gives you a prediction. But because the hierarchy differs from tree to tree, I do not think that the rule cannot be easily simplified to an equation.
Jul 7, 2016 at 11:09 comment added progster I think that is more clear now, I don't have a target variable in newdats, you simply apply the trained model to new data, correct? if it's correct it was the situation I was looking for. On the other hand I guess that "varImpPlot(rf)" could give and idea of which variable is more important, but not the exact rule that explicate variable relationship (like an equation in logistic regression or tree rules)
Jul 7, 2016 at 8:05 history edited mkt CC BY-SA 3.0
Edited for clarity
Jul 7, 2016 at 7:59 history answered mkt CC BY-SA 3.0