Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

H2O R Variable Importance Truncated List

Tags:

r

h2o

gbm

I have a data set with over 400 features that I am estimating with GBM using H2O atop R. When I use the variable importance function (h2o.varimp) it only shows me the head and tail of the full ranked variable list. Is there a way to have the entire list displayed?

like image 559
dj_ski_mask Avatar asked Jan 04 '23 03:01

dj_ski_mask


1 Answers

This is not specific to variable importance, this is just how H2O displays H2O Frames in the R console. If you want to view the whole frame, you could convert it to an R data.frame and then print it.

df <- as.data.frame(h2o.varimp(model))
print(df)
like image 107
Erin LeDell Avatar answered Jan 08 '23 06:01

Erin LeDell