Package | Description |
---|---|
pt.utl.ist.online.learning.engines | |
pt.utl.ist.online.learning.kernels |
Modifier and Type | Method and Description |
---|---|
Kernel<E> |
KernelPegasosEngine.getKernel()
Gets the kernel used in this engine
|
Modifier and Type | Method and Description |
---|---|
void |
KernelPegasosEngine.setKernel(Kernel<E> kernel)
Sets a new kernel object.
|
Constructor and Description |
---|
Conf(double lambda,
double hingeParameter,
Kernel<E1> k)
Creates a Conf object that can create objects of
KernelPegasosEngine |
KernelPegasosEngine(double lambda,
double hingeParameter,
Kernel<E> k)
Creates a Pegasos Engine that use a Kernel
|
Modifier and Type | Class and Description |
---|---|
class |
ComputedKernel<E> |
class |
GaussianKernel
Implements the Gaussian kernel to be used in this framework
|
class |
LinearKernel
Implements the linear kernel to be used in this framework
|
Modifier and Type | Method and Description |
---|---|
Kernel<E> |
Kernel.computeKernelMatrix(java.util.List<DataObject<E>> samples)
Creates a matrix to be used for caching purposes.
|
Kernel<E> |
Kernel.computeKernelMatrix(java.util.List<DataObject<E>> samples,
java.util.Map<java.lang.Integer,java.lang.Integer> conversorId)
Creates a matrix to be used for caching purposes.
|
Constructor and Description |
---|
ComputedKernel(double[] computedMatrix,
Kernel<E> kernel) |
ComputedKernel(double[] computedMatrix,
java.util.Map<java.lang.Integer,java.lang.Integer> conversorId,
Kernel<E> kernel) |