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, setRepresentationdisableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifferencepublic ShortestPathKernel()
public ShortestPathKernel(String representation)
public float kernelComputation(DirectedGraphRepresentation exA, DirectedGraphRepresentation exB)
DirectKernelkernelComputation 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.