Visualize a classification model output
viz_class_fit(
model,
model_title,
test_x_class,
test_y_class,
metric_type = "class"
)
A classification model output
A classification model name
Outcomes of the test dataset
Predictors of the test dataset
A type of the metrics ("class" or "probability"). Either a "class"-based metrics (e.g., accuracy, balanced accuracy, F-score) or a "probability"-based metrics (e.g., ROC Curve). The default type is "class."
a bar or line plot(s)