Rborist (version 0.1-17)

Streamline: Reducing Memory Footprint of Trained Decision Forest

Description

Clears fields deemed no longer useful.

Usage

# S3 method for default
Streamline(rs)

Arguments

rs

Trained forest object.

Value

an object of class Rborist with certain fields cleared.

Examples

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

Run the code above in your browser using DataLab