tech.v3.ml.loss

Simple loss functions.

classification-accuracy

(classification-accuracy lhs rhs)

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

(classification-loss lhs rhs)

1.0 - classification-accuracy.

mae

(mae predictions labels)

mean absolute error

mse

(mse predictions labels)

mean squared error

rmse

(rmse predictions labels)

root mean squared error