public class ShortestPathKernel extends DirectKernel<it.uniroma2.sag.kelp.data.representation.graph.DirectedGraphRepresentation>
representation
Constructor and Description |
---|
ShortestPathKernel() |
ShortestPathKernel(String representation) |
Modifier and Type | Method and Description |
---|---|
float |
kernelComputation(it.uniroma2.sag.kelp.data.representation.graph.DirectedGraphRepresentation exA,
it.uniroma2.sag.kelp.data.representation.graph.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(it.uniroma2.sag.kelp.data.representation.graph.DirectedGraphRepresentation exA, it.uniroma2.sag.kelp.data.representation.graph.DirectedGraphRepresentation exB)
DirectKernel
kernelComputation
in class DirectKernel<it.uniroma2.sag.kelp.data.representation.graph.DirectedGraphRepresentation>
exA
- the first representation in the kernel similarityexB
- the second representation in the kernel similarityCopyright © 2015 Semantic Analytics Group @ Uniroma2. All rights reserved.