public class RbfKernel extends KernelComposition
baseKernel
Constructor and Description |
---|
RbfKernel() |
RbfKernel(float gamma,
Kernel inputSpace) |
Modifier and Type | Method and Description |
---|---|
float |
getGamma() |
protected float |
kernelComputation(Example exA,
Example exB)
Returns the kernel similarity between the given examples.
|
void |
setGamma(float gamma) |
getBaseKernel, setBaseKernel
disableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifference
public RbfKernel(float gamma, Kernel inputSpace)
public RbfKernel()
public float getGamma()
public void setGamma(float gamma)
gamma
- the gamma to setprotected float kernelComputation(Example exA, Example exB)
Kernel
kernelComputation
in class Kernel
exA
- the first exampleexB
- the second exampleexA
and
exB
Copyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.