random forest - displaying variable in plot(varImp(randomForest_model)) -


varimpplot(randomforest_model) in randomforest displays default 30 top variables. how display selected top variable only. eg top 18 .

i figured out. needed use n.var display number of variables

varimpplot(rf_fit,scale=true,n.var=18) 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -