public class LinearKernel extends DirectKernel<Vector>
Vectors Vector representationsrepresentation| Constructor and Description |
|---|
LinearKernel() |
LinearKernel(String representationIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
float |
kernelComputation(Vector repA,
Vector repB)
Computes the kernel similarity between two specific representations
|
getRepresentation, kernelComputation, setRepresentationdisableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifferencepublic LinearKernel(String representationIdentifier)
public LinearKernel()
public 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 © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.