public class LinearKernel extends DirectKernel<Vector>
Vectors 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, setRepresentationdisableCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, innerProduct, reset, setKernelCache, setNormCache, squaredNorm, squaredNormOfTheDifferencepublic LinearKernel(String representationIdentifier)
public LinearKernel()
protected float kernelComputation(Vector repA, Vector repB)
DirectKernelkernelComputation 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.