Rborist (version 0.1-17)

ForestFloorExport: Exportation Format for Rborist Training Output

Description

Formats training output into a form suitable for ForestFloor feature-contribution package.

Usage

# S3 method for Rborist
ForestFloorExport(arbOut)

Arguments

arbOut

an object of type Rborist produced by training.

Value

An object of type ForestFloorExport, as specified by the interface for the ForestFloor package.

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    data(iris)
    rb <- Rborist(iris[,-5], iris[,5])
    ffe <- ForestFloorExport(rb)

    library(ForestFloor)
    ForestFloor(ffe)
  
# }

Run the code above in your browser using DataLab