Liking cljdoc? Tell your friends :D

tech.ml.loss


classification-accuracyclj

(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.
sourceraw docstring

classification-lossclj

(classification-loss model-output label-seq)

1.0 - classification-accuracy.

1.0 - classification-accuracy.
sourceraw docstring

mseclj

(mse predictions labels)

mean squared error

mean squared error
sourceraw docstring

rmseclj

(rmse predictions labels)

root mean squared error

root mean squared error
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close