Description Usage Arguments Details Value Warning documentation to-do See Also
Computes the marginal relationship between a subset of the predictors (here, two variables at a time) and the model’s predictions by averaging over the marginal distribution of the compliment of this subset of the predictors, taking in account the interaction between the chosen predictors.
1 2 3 4 5 6 7 8 | extract_pd_nestedrf(
learner_id = 1,
in_rftuned,
datdf,
selcols,
nvariate,
ngrid
)
|
learner_id |
(integer) Index of the outer resampling instance to be analyzed. |
in_rftuned |
ResampleResult from a classification RF. |
datdf |
Data from the task that was used to train RF. |
selcols |
Character vector of the predictor variables to analyze. |
ngrid |
(integer) Number of values of the predictor variables over which to compute the marginal relationship. |
Also accept learners of class GraphLearner.
Uses partial_dependence for computing.
A data.table with the following columns.
is perennial) at value1 and value2
is intermittent) at value1 and value2
Has only been tested on mlr_learners_classif.ranger
Can add an example down the line, add source.
weighted_vimportance_nestedrf
,
ggpd_bivariate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.