tl_plot_model: Plot a supervised tidylearn model

tl_plot_modelR Documentation

Plot a supervised tidylearn model

Description

Dispatches to the appropriate plotting function based on model type and requested plot type.

Usage

tl_plot_model(model, type = "auto", ...)

Arguments

model

A tidylearn supervised model object

type

Plot type. For regression: "auto", "actual_predicted", "residuals", "diagnostics". For classification: "auto", "confusion", "roc", "precision_recall", "calibration", "lift", "gain". "importance" is available for tree-based and regularized models.

...

Additional arguments passed to the underlying plot function

Value

A ggplot2 object (invisibly for base-graphics plots)


tidylearn documentation built on March 13, 2026, 5:07 p.m.