decision_path: Return a matrix where entry '(i, j)' is true if the 'i'th...

View source: R/iaitrees.R

decision_pathR Documentation

Return a matrix where entry (i, j) is true if the ith point in the features passes through the jth node in a trained tree model.

Description

Julia Equivalent: IAI.decision_path

Usage

decision_path(lnr, X)

Arguments

lnr

The learner or grid to query.

X

The features of the data.

Examples

## Not run: iai::decision_path(lnr, X)


iai documentation built on Oct. 19, 2024, 1:07 a.m.