Learn R Programming

iai (version 1.4.0)

decision_path: 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

Run this code
# NOT RUN {
iai::decision_path(lnr, X)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab