public class ComputedKernel<E> extends Kernel<E>
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) |
Modifier and Type | Method and Description |
---|---|
DataObject<E> |
convertVector(DataObject<E> x)
Transforms a DataObject into another DataObject with modifications
to be in the right format for this kernel
|
java.lang.String |
toString() |
clear, compute, computeKernelMatrix, computeKernelMatrix, getBNorm, setUseCache
public ComputedKernel(double[] computedMatrix, java.util.Map<java.lang.Integer,java.lang.Integer> conversorId, Kernel<E> kernel)
public java.lang.String toString()
toString
in class java.lang.Object
public DataObject<E> convertVector(DataObject<E> x) throws InvalidVectorIndexException
Kernel
convertVector
in class Kernel<E>
x
- a DataObject that encapsulates the data instance to be
transformedInvalidVectorIndexException
- when the DataObject to be transformed
has occupied reserved constants