public class PreferenceKernel extends KernelComposition
baseKernel
Constructor and Description |
---|
PreferenceKernel() |
PreferenceKernel(Kernel baseKernel) |
Modifier and Type | Method and Description |
---|---|
protected float |
kernelComputation(Example exA,
Example exB)
Returns the kernel similarity between the given examples.
|
getBaseKernel, setBaseKernel
disableCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, innerProduct, reset, setKernelCache, setNormCache, squaredNorm, squaredNormOfTheDifference
public PreferenceKernel(Kernel baseKernel)
public PreferenceKernel()
protected float kernelComputation(Example exA, Example exB)
Kernel
kernelComputation
in class Kernel
exA
- the first exampleexB
- the second exampleexA
and
exB
Copyright © 2014 Semantic Analytics Group @ Uniroma2. All rights reserved.