Uses of Interface
org.tribuo.math.kernel.Kernel
Package
Description
Provides a SGD implementation of a Kernel SVM using the Pegasos algorithm.
Provides a
Kernel
interface for Mercer kernels, along with implementations of standard kernels.-
Uses of Kernel in org.tribuo.classification.sgd.kernel
ModifierConstructorDescriptionKernelSVMTrainer
(Kernel kernel, double lambda, int epochs, int loggingInterval, long seed) Constructs a trainer for a kernel SVM model.KernelSVMTrainer
(Kernel kernel, double lambda, int epochs, long seed) Constructs a trainer for a kernel SVM model. -
Uses of Kernel in org.tribuo.math.kernel
Modifier and TypeClassDescriptionclass
A linear kernel, u.dot(v).class
A polynomial kernel, (gamma*u.dot(v) + intercept)^degree.class
A Radial Basis Function (RBF) kernel, exp(-gamma*|u-v|^2).class
A sigmoid kernel, tanh(gamma*u.dot(v) + intercept).Modifier and TypeMethodDescriptionstatic Kernel
Kernel.deserialize
(org.tribuo.math.protos.KernelProto proto) Deserializes the kernel from the supplied protobuf.