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, setBaseKerneldisableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNormOfTheDifferencepublic NormalizationKernel(Kernel kernelToNormalize)
public NormalizationKernel()
protected float kernelComputation(Example exA, Example exB)
KernelkernelComputation in class KernelexA - the first exampleexB - the second exampleexA and
exBpublic float squaredNorm(Example example)
KernelsquaredNorm in class Kernelexample - the example whose squared norm must be computedCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.