kernel_lift: Compatibility Alias for the RBF Kernel Lift Plot

View source: R/lift.R

kernel_liftR Documentation

Compatibility Alias for the RBF Kernel Lift Plot

Description

kernel_lift() is kept for existing code. New code should call lift_plot().

Usage

kernel_lift(x, y, gamma = 1, center = NULL)

Arguments

x

Numeric two-column matrix or data frame.

y

Two-class response.

gamma

Positive RBF scale.

center

Optional numeric length-two center for the RBF bump. If NULL, the centroid of the inner class is used.

Value

A ggplot object.

See Also

Other visualization: compare_methods(), lift_plot(), lift_plotly()

Examples

set.seed(22)
dat <- gen_circles(60, noise = 0.04)
kernel_lift(dat$x, dat$y, gamma = 1)

twinsvm documentation built on June 10, 2026, 1:06 a.m.