- accuracy
float accuracy(Tensor!(T, Shape, useGrad1) output, Tensor!(T, Shape, useGrad2) label)
calc accuracy for 1 class (single 0-1 output)
- accuracy
float accuracy(Tensor!(T, Shape, useGrad1) output, Tensor!(T, Shape, useGrad2) label)
calc accuracy for multi class (multiple 0-1 output)
- confusionMatrix
Tensor!(size_t, [Shape[1], Shape[1]], UseGradient.no) confusionMatrix(Tensor!(T, Shape, useGrad1) x, Tensor!(T, Shape, useGrad2) y)
Undocumented in source. Be warned that the author may not have intended to support it.