Learn R Programming

isotree (version 0.6.1-1)

print.isolation_forest: Print summary information from Isolation Forest model

Description

Displays the most general characteristics of an isolation forest model (same as `summary`).

Usage

# S3 method for isolation_forest
print(x, ...)

Value

The same model that was passed as input.

Arguments

x

An Isolation Forest model as produced by function `isolation.forest`.

...

Not used.

Details

Note that after loading a serialized object from `isolation.forest` through `readRDS` or `load`, when using `lazy_serialization=FALSE`, it will only de-serialize the underlying C++ object upon running `predict`, `print`, or `summary`, so the first run will be slower, while subsequent runs will be faster as the C++ object will already be in-memory. This does not apply when using `lazy_serialization=TRUE`.

See Also

isolation.forest