oob.error.rate.wsrf {wsrf}R Documentation

Out-of-Bag Error Rate

Description

Return out-of-bag error rate for "wsrf" model.

Usage

## S3 method for class 'wsrf'
oob.error.rate(object, tree, ...)

Arguments

object

object of class wsrf.

tree

logical or an integer vector for the index of a specific tree in the forest model. If provided as an integer vector, oobErrorRate.wsrf will give the corresponding out-of-bag error rates of the exact trees specified by tree. If TRUE, all error rates will be presented. If FALSE or missing, the gross error rate for the forest will be given.

...

not used.

Value

return a vector of error rates.

Author(s)

He Zhao and Graham Williams (SIAT, CAS)

See Also

wsrf


[Package wsrf version 1.7.30 Index]