Learn R Programming

iai (version 1.0.0)

decision_path: decision_path

Description

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.

Usage

decision_path(lnr, X)

Arguments

lnr

The learner or grid to query.

X

The features of the data.

Details

Julia Equivalent: IAI.decision_path

Examples

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

Run the code above in your browser using DataLab