public class ShortestPathKernel extends DirectKernel<DirectedGraphRepresentation>
representation
Constructor and Description |
---|
ShortestPathKernel() |
ShortestPathKernel(String representation) |
Modifier and Type | Method and Description |
---|---|
float |
kernelComputation(DirectedGraphRepresentation exA,
DirectedGraphRepresentation exB)
Computes the kernel similarity between two specific representations
|
getRepresentation, kernelComputation, setRepresentation
disableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifference
public ShortestPathKernel()
public ShortestPathKernel(String representation)
public float kernelComputation(DirectedGraphRepresentation exA, DirectedGraphRepresentation exB)
DirectKernel
kernelComputation
in class DirectKernel<DirectedGraphRepresentation>
exA
- the first representation in the kernel similarityexB
- the second representation in the kernel similarityCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.