Learn R Programming

Rborist (version 0.3-7)

Streamline.rfArb: Reducing Memory Footprint of Trained Decision Forest

Description

Clears fields deemed no longer useful.

Usage

# S3 method for rfArb
Streamline(arbOut)

Value

an object of class rfArb with sample data cleared.

Arguments

arbOut

Trained forest object of class rfArb.

Author

Mark Seligman at Suiji.

Examples

Run this code
if (FALSE) {
    ## Trains.
    rs <- Rborist(x, y)
    ...
    ## Replaces trained object with streamlined copy.
    rs <- Streamline(rs)
 }

Run the code above in your browser using DataLab