Package | Description |
---|---|
org.tribuo.classification.sgd.kernel |
Provides a SGD implementation of a Kernel SVM using the Pegasos algorithm.
|
org.tribuo.math.kernel |
Provides a
Kernel interface for Mercer kernels, along with implementations of standard kernels. |
Constructor and Description |
---|
KernelSVMTrainer(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.
|
Modifier and Type | Class and Description |
---|---|
class |
Linear
A linear kernel, u.dot(v).
|
class |
Polynomial
A polynomial kernel, (gamma*u.dot(v) + intercept)^degree.
|
class |
RBF
A Radial Basis Function (RBF) kernel, exp(-gamma*|u-v|^2).
|
class |
Sigmoid
A sigmoid kernel, tanh(gamma*u.dot(v) + intercept).
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.