public class NormalizationKernel extends KernelComposition
baseKernel
Constructor and Description |
---|
NormalizationKernel() |
NormalizationKernel(Kernel kernelToNormalize) |
Modifier and Type | Method and Description |
---|---|
protected float |
kernelComputation(Example exA,
Example exB)
Returns the kernel similarity between the given examples.
|
float |
squaredNorm(Example example)
Returns the squared norm of the given example in the RKHS defined by this kernel
|
getBaseKernel, setBaseKernel
disableCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, innerProduct, reset, setKernelCache, setNormCache, squaredNormOfTheDifference
public NormalizationKernel(Kernel kernelToNormalize)
public NormalizationKernel()
protected float kernelComputation(Example exA, Example exB)
Kernel
kernelComputation
in class Kernel
exA
- the first exampleexB
- the second exampleexA
and
exB
public float squaredNorm(Example example)
Kernel
squaredNorm
in class Kernel
example
- the example whose squared norm must be computedCopyright © 2014 Semantic Analytics Group @ Uniroma2. All rights reserved.