Learn R Programming

VSURF (version 0.7.6)

summary: Summary of VSURF results

Description

This function display a summary of VSURF results

Usage

## S3 method for class 'VSURF':
summary(object, ...)

Arguments

object
An object of class VSURF, which is the result of the VSURF function.
...
Not used.

Details

This function prints the total computation time of VSURF. It also gives the number of selected variables (and the computation time) at each step of VSURF.

References

Genuer, R. and Poggi, J.M. and Tuleau-Malot, C. (2010), Variable selection using random forests, Pattern Recognition Letters 31(14), 2225-2236

See Also

VSURF, plot.VSURF

Examples

Run this code
data(iris)
iris.vsurf <- VSURF(x=iris[,1:4], y=iris[,5], ntree=100, nfor.thres=20,
                    nfor.interp=10, nfor.pred=10)
summary(iris.vsurf)

# A more interesting example with toys data (see \code{\link{toys}})
# (a few minutes to execute)
data(toys)
toys.vsurf <- VSURF(x=toys$x, y=toys$y)
summary(toys.vsurf)

Run the code above in your browser using DataLab