Closed MarcCote closed 8 years ago
The BinaryCrossEntropy and ClassificationError were returning the loss of the whole batch instead of the loss of each individual example (as done with other Loss functions, e.g. L2Distance and L1Distance).
BinaryCrossEntropy
ClassificationError
Loss
This PR fixes that and brings some unit tests.
For some reason, the perceptron test hangs. Will you have a look?
The
BinaryCrossEntropy
andClassificationError
were returning the loss of the whole batch instead of the loss of each individual example (as done with otherLoss
functions, e.g. L2Distance and L1Distance).This PR fixes that and brings some unit tests.