pyconstruct.models.LinearModel.loss

LinearModel.loss(X, Y, Y_pred, **kwargs)

Computes the loss of the predictions with respect the model.