public class LinearKernel extends DirectKernel<Vector>
Vector
s Vector
representationsrepresentation
Constructor and Description |
---|
LinearKernel() |
LinearKernel(String representationIdentifier) |
Modifier and Type | Method and Description |
---|---|
protected float |
kernelComputation(Vector repA,
Vector repB)
Computes the kernel similarity between two specific representations
|
getRepresentation, kernelComputation, setRepresentation
disableCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, innerProduct, reset, setKernelCache, setNormCache, squaredNorm, squaredNormOfTheDifference
public LinearKernel(String representationIdentifier)
public LinearKernel()
protected float kernelComputation(Vector repA, Vector repB)
DirectKernel
kernelComputation
in class DirectKernel<Vector>
repA
- the first representation in the kernel similarityrepB
- the second representation in the kernel similarityCopyright © 2014 Semantic Analytics Group @ Uniroma2. All rights reserved.