ranger_classifier: Train and get predictions from a 2-class random forest...

Description Usage Arguments Value Note

Description

Train and get predictions from a 2-class random forest classifier ('ranger' object).

Usage

1
ranger_classifier(train_df, target_var, params, eval_df, ...)

Arguments

train_df

Training data.frame.

target_var

Name of the target variable.

params

Parameters passed to the 'ranger' training function.

eval_df

Evaluation data.frame.

...

Additional parameters passed to the 'ranger' training function.

Value

The vector of predictions.

Note

Only binary classification is currently supported.


artichaud1/tidygrid documentation built on May 10, 2019, 9:28 a.m.