variable.names.isolation_forest: Get Variable Names for Isolation Forest Model

View source: R/isoforest.R

variable.names.isolation_forestR 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.


isotree documentation built on May 29, 2024, 11:24 a.m.