distMat.KernelKnn
returns a matrix of zeros when argument weights_function
is specified.
#5
Labels
distMat.KernelKnn
returns a matrix of zeros when argument weights_function
is specified.
#5
If I specify the
weights_function
argument todistMat.KernelKnn
, then I get a matrix of all zeros.Using the same example as in issue #4 but with test data last (to avoid the bug described in #4):
a
is correct, butb
gives a zero matrix:The text was updated successfully, but these errors were encountered: