read_literanger: De-serialize random forest

View source: R/io.R

read_literangerR Documentation

De-serialize random forest

Description

Read the random forest from a file or connection using light-weight serialization for C++ objects.

Usage

read_literanger(file, verbose = TRUE, ...)

Arguments

file

A connection or the name of a file containing a serialized literanger object.

verbose

Show additional serialization information (not implemented).

...

Further arguments passed to readRDS().

Details

This function uses 'cereal' light-weight serialization to read a literanger object (random forest) from a file or connection. The file is usually the result of a call to write_literanger(). The random forest returned can be used for prediction immediately upon return, and does not require the original training data or training environment.

Value

A literanger random forest object

Author(s)

stephematician <stephematician@gmail.com

See Also

write_literanger() readRDS


literanger documentation built on Sept. 30, 2024, 9:15 a.m.