Skip to contents

Suggest the best imputation method separately for numeric and categorical columns

Usage

suggest_best_method(x, metric = "ALL")

Arguments

x

A result list returned by evaluator()

metric

Character, metric to optimize ("RMSE", "MAE", "R2", "Correlation", "KS", "Accuracy", "Kappa", "F1", "MacroF1", "BalancedAccuracy", or "ALL"). If "ALL" or missing, compares across all metrics.

Value

A list with two elements: numeric and categorical, each containing the best methods based on the chosen metric(s).