This function trains a set of models and selects best hyperparameters for each of them.
train_PEAXAI(data, method, parameters, trControl, metric_priority, seed)It returns a list with the chosen model.
A data.frame or matrix containing the variables in the model.
Parameters for controlling the training process (from the 'caret' package).
A list of selected machine learning models and their hyperparameters.
A list of selected machine learning learning.
A string specifying the summary metric for classification to select the optimal model. Default includes "Balanced_Accuracy" due to (normally) unbalanced data.
Integer. Seed for reproducibility.