public abstract class KernelOverPairs extends KernelComposition
baseKernel| Constructor and Description |
|---|
KernelOverPairs() |
| Modifier and Type | Method and Description |
|---|---|
protected float |
kernelComputation(Example exA,
Example exB)
Returns the kernel similarity between the given examples.
|
abstract float |
kernelComputationOverPairs(Example exA1,
Example exA2,
Example exB1,
Example exB2)
Returns the kernel computation
|
getBaseKernel, setBaseKerneldisableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifferenceprotected float kernelComputation(Example exA, Example exB)
KernelkernelComputation in class KernelexA - the first exampleexB - the second exampleexA and
exBpublic abstract float kernelComputationOverPairs(Example exA1, Example exA2, Example exB1, Example exB2)
exA1 - the first element of the first pairexA2 - the second element of the first pairexB1 - the first element of the second pairexB2 - the second element of the second pairCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.