experiments.perf_eval_funcs

Functions

MSE(y_pred, y, **kwargs)

Calculate sample mean squared error

binary_logistic_loss(y_pred, y, **kwargs)

Wrapper for sklearn's log_loss function.

deterministic_accuracy(y_pred, y, **kwargs)

The fraction of correct samples.

multiclass_accuracy(y_pred, y, **kwargs)

For multi-class classification.

multiclass_logistic_loss(y_pred, y, **kwargs)

Calculate average logistic loss over all data points for multi-class classification

probabilistic_accuracy(y_pred, y, **kwargs)

For binary classification only.