Skip to content

How to explain the plot 'Distribution of R-squared in randomized model' from the rfUtilities package? #10

@nikosGeography

Description

@nikosGeography

I apologize in advance if the question is not suitable for posting here. I am using the package to perform a Random Forest (RF) regression task. One of the functions to validate the model is the rf.significance. When I plot the results of the functions I get this: plot

Rplot

Can you help me understand and interpret this plot? For example, what's on the y-axis, should the blue area be less wide or not, and why? Should the red dash line be closer to the black one or not, and why? In general, what does this plot says about the RF model?

library(randomForest)
library(rfUtilities)

data(airquality)
airquality <- na.omit(airquality)
( rf.regress <- rf.modelSel(airquality[,2:6], airquality[,1], imp.scale="se") )

# To use parameters from selected model
vars <- rf.regress$selvars
( rf.fit <- randomForest(x=airquality[,vars], y=airquality[,1]) )

set.seed(123)
( rf.perm <- rf.significance(rf.fit, airquality[,2:6], nperm=99, ntree=501) )
plot(rf.perm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions