tl_plot_svm_boundary: Plot SVM decision boundary
Description
Plot SVM decision boundary
Usage
tl_plot_svm_boundary(model, x_var = NULL, y_var = NULL, grid_size = 100, ...)
Value
A ggplot object with decision boundary
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