define_ranger_spec {fastml} | R Documentation |
Define Ranger Model Specification
Description
Define Ranger Model Specification
Usage
define_ranger_spec(task, train_data, label, tune = FALSE)
Arguments
task |
Character string specifying the task type: "classification" or "regression". |
train_data |
Data frame containing the training data. |
label |
Character string specifying the name of the target variable. |
tune |
Logical indicating whether to use tuning parameters. |
Value
List containing the model specification ('model_spec').
[Package fastml version 0.2.0 Index]