Closed timolingh closed 8 years ago
Thanks a lot for the code.
Admittedly, the results look very nice. However, I consider this to be a very specific problem. Usually, it should be sufficient to have separate displays of coefficients and variable importance (see PR29 for a way to plot VarImp). Furthermore, we currently do not use ggplot
and I do not plan to use it for this package as it adds a lot of dependencies. Finally, it will only work for glmboost
models and thus exclude all tree-based models and gamboost
models.
Please note that you should never directly access slots of the results but preferably use the provided funcitons such as:
selected(mdl)
variable.names(mdl, which = )
variable.names(mdl, which = "") ## for all names
mstop(mdl)
For a (rather) comprehensive list of methods and extractor functions please see ?mboost_methods
.
Hi, I have a need to display the variable selection frequency and the coefficients in a single plot. I ended up writing my own code (maybe unnecessarily) to do this, but it would be good to have this done as a standard function. Here is an example of the code that generated the plot (attached)
Rplot.pdf