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, setRepresentationdisableCache, getKernelCache, getKernelComputations, getNumberOfHits, getNumberOfMisses, getSquaredNormCache, innerProduct, load, reset, save, setKernelCache, setSquaredNormCache, squaredNorm, squaredNormOfTheDifferencepublic 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)
DirectKernelkernelComputation 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.