public class PreferenceKernel extends KernelOverPairs
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
|
kernelComputation
getBaseKernel, setBaseKernel
disableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifference
public PreferenceKernel(Kernel baseKernel)
public PreferenceKernel()
public float kernelComputationOverPairs(Example exA1, Example exA2, Example exB1, Example exB2)
KernelOverPairs
kernelComputationOverPairs
in class KernelOverPairs
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.