Package elki.svm.qmatrix
Class R2_Qq
- java.lang.Object
-
- elki.svm.qmatrix.Kernel
-
- elki.svm.qmatrix.R2_Qq
-
-
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 elki.svm.qmatrix.Kernel
get_QD, initialize, swap_index
-
-
-
-
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 interfaceQMatrix
- Overrides:
similarity
in classKernel
- Parameters:
i
- First objectj
- Second object- Returns:
- Similarity
-
-