pub fn k_function(x: &[SvmNode], y: &[SvmNode], param: &SvmParameter) -> f64Expand description
Evaluate the kernel function K(x, y) for the given parameters.
This is the standalone version used during prediction. Matches
LIBSVM’s Kernel::k_function.