variable.names.isolation_forest {isotree}R Documentation

Get Variable Names for Isolation Forest Model

Description

Returns the names of the input data columns / variables to which an isolation forest model was fitted.

If the data did not have column names, it will make them up as "column_1..N".

Note that columns will always be reordered so that numeric columns come first, followed by categorical columns.

Usage

## S3 method for class 'isolation_forest'
variable.names(object, ...)

Arguments

object

An isolation forest model, as returned by function isolation.forest.

...

Not used.

Value

A character vector containing the column / variable names.


[Package isotree version 0.6.1-1 Index]