Class R2_Qq

  • All Implemented Interfaces:
    QMatrix

    public class R2_Qq
    extends Kernel
    Q matrix used by SVDD
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) double invC  
      • Fields inherited from class elki.svm.qmatrix.Kernel

        x
    • Constructor Summary

      Constructors 
      Constructor Description
      R2_Qq​(DataSet x, double C)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double similarity​(int i, int j)
      (Slow) compute the similarity (not distance) of objects i and j.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface elki.svm.qmatrix.QMatrix

        get_Q
    • Field Detail

      • invC

        final double invC
    • Constructor Detail

      • R2_Qq

        public R2_Qq​(DataSet x,
                     double C)
    • Method Detail

      • similarity

        public double similarity​(int i,
                                 int j)
        Description copied from interface: QMatrix
        (Slow) compute the similarity (not distance) of objects i and j.

        If you need many, use QMatrix.get_Q(int, int, float[]) instead.

        Specified by:
        similarity in interface QMatrix
        Overrides:
        similarity in class Kernel
        Parameters:
        i - First object
        j - Second object
        Returns:
        Similarity