public class PreferenceKernel extends KernelOnPairs
baseKernel| Constructor and Description |
|---|
PreferenceKernel() |
PreferenceKernel(Kernel baseKernel) |
| Modifier and Type | Method and Description |
|---|---|
float |
kernelComputationOverPairs(Example exA1,
Example exA2,
Example exB1,
Example exB2)
Returns the kernel computation
|
kernelComputationgetBaseKernel, setBaseKerneldisableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifferencepublic PreferenceKernel(Kernel baseKernel)
public PreferenceKernel()
public float kernelComputationOverPairs(Example exA1, Example exA2, Example exB1, Example exB2)
KernelOnPairskernelComputationOverPairs in class KernelOnPairsexA1 - 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 © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.