(classification-accuracy model-output label-seq)
correct/total. Model output is a sequence of probability distributions. label-seq is a sequence of values. The answer is considered correct if the key highest probability in the model output entry matches that label.
correct/total. Model output is a sequence of probability distributions. label-seq is a sequence of values. The answer is considered correct if the key highest probability in the model output entry matches that label.
(classification-loss model-output label-seq)
1.0 - classification-accuracy.
1.0 - classification-accuracy.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close