Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upvarImp includes regressors that are explicitly excluded from model #493
Comments
|
It is not obvious but it says that "loess r-squared variable importance". This means that there is no implemented code for estimating the importance for this model (so it defaults to a univariate assessment that is not related to boosted GLMs). I just added a method to the model code that can be used. |
|
Thank you. Might be a good idea to put "Univariate r-squared (loess)". On Oct 20, 2016 9:56 AM, "Max Kuhn" notifications@github.com wrote:
|
|
Good idea. I made a change to the labels. Thanks |
For a
trainobject with theglmboostmethod, thevarImpresults include regressors that were not considered in the training process.Some fake data for reproducible example
Some
caretcode withglmboostFinal model chose
x1(as expected), but thevarImpresults showsx4,x3, andx2, which should be excluded.