Loss functions for use in evaluating learner fits.
loss_squared_error(pred, observed)
loss_loglik_true_cat(pred, observed)
loss_loglik_binomial(pred, observed)
loss_loglik_multinomial(pred, observed)
loss_squared_error_multivariate(pred, observed)
A vector of predicted values
A vector of observed values
A vector of loss values
Assumes predicted probabilities are "packed" into a single vector.