Learn R Programming

Rborist (version 0.3-7)

expandfe: Expands forest values into front-end readable vectors.

Description

Formats training output into a form suitable for illustration of feature contributions.

Usage

# S3 method for default
expandfe(arbOut)

Value

An object of type ExpandReg or ExpandCtg containing human-readable representations of the trained forest.

Arguments

arbOut

an object of type rfTrain produced by training.

Author

Mark Seligman at Suiji.

Examples

Run this code
  if (FALSE) {
    data(iris)
    rb <- Rborist(iris[,-5], iris[,5])
    ffe <- expandfe(rb)

    # An rfTrain counterpart is NYI.
  }

Run the code above in your browser using DataLab