pyconstruct.models.BaseModel.margin

BaseModel.margin(X, Y, Y_pred, **kwargs)

Computes the margin of the current model for the given data.