tl_plot_svm_boundary: Plot SVM decision boundary

View source: R/supervised-svm.R

tl_plot_svm_boundaryR Documentation

Plot SVM decision boundary

Description

Plot SVM decision boundary

Usage

tl_plot_svm_boundary(model, x_var = NULL, y_var = NULL, grid_size = 100, ...)

Arguments

model

A tidylearn SVM model object

x_var

Name of the x-axis variable

y_var

Name of the y-axis variable

grid_size

Number of points in each dimension for the grid (default: 100)

...

Additional arguments

Value

A ggplot object with decision boundary


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.