Open grahamgower opened 4 years ago
kann_class_error()
doesn't work with binary cross-entropy KANN_C_CEB
. With this cost, there can be multiple 1
s, but kann_class_error()
assumes there is only one 1
.
Yep, thanks. I wasn't sure if this was intentional or not. The mnist-cnn.c example uses KANN_C_CEB
with kann_train_fnn1()
, which then outputs 0% class error.
Oh, wait. I'm an idiot. :) Sorry for the noise.
kann_class_error()
always returns 0 for networks withKANN_C_CEB
cost.