Class SuffixTreeKernel

    • Method Detail

      • evaluate

        public double evaluate​(Object a,
                               Object b)
        Calculate the dot product between the SuffixTrees a and b.

        This is the sum of the dot products of each subspace for a given word length. Each subspace is scaled using the DepthScaler returned by getDepthScaler.

        Specified by:
        evaluate in interface SVMKernel
        Parameters:
        a - the first Object
        b - the second Object
        Returns:
        a.b