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

View source: R/expandfe.R

expandfeR Documentation

Expands forest values into front-end readable vectors.

Description

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

Usage

 ## Default S3 method:
expandfe(arbOut)

Arguments

arbOut

an object of type RfArb produced by training.

Value

An object of type ExportReg or ExportCtg containing human-readable representations of the trained forest.

Author(s)

Mark Seligman at Suiji.

Examples

  ## Not run: 
    data(iris)
    rb <- Rborist(iris[,-5], iris[,5])
    ffe <- expandfe(rb)

    # An rfTrain counterpart is NYI.
  
## End(Not run)

Rborist documentation built on July 26, 2023, 5:32 p.m.