learn_decisions | R Documentation |
learn_decisions
uses ranger
to perform feature selection with
respect to raw_modules
.
learn_decisions( raw_modules, features, target, flatten.sep = "$", importance = "impurity", splitrule = "gini" )
raw_modules |
list of numeric vectors. The raw modules. |
features |
numeric matrix or 3D array. The features to train on. |
target |
numeric vector. The target to train towards. |
flatten.sep |
string. Separator to use when flattening features. |
importance |
variable importance mode. See ranger:rangerranger::ranger. |
splitrule |
Splitting rule. See ranger:rangerranger::ranger. |
A list of shape (trees
, modules
,
modules.weights
), where modules
are the sorted
raw_modules
with individual weights modules.weights
, and
trees
contains one ranger decision tree per module.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.