Computes the value of the gradient function
Computes the value of the gradient function
the dot product of the linear model and the instance
the gradient value
Computes the value of the loss function
Computes the value of the loss function
the dot product of the linear model and the instance
the loss value
Computes the binary prediction based on a dot prodcut
Computes the binary prediction based on a dot prodcut
the dot product of the linear model and the instance
the predicted binary class
Computes the probability of a binary prediction based on a dot product
Computes the probability of a binary prediction based on a dot product
the dot product of the linear model and the instance
the predicted probability
Implementation of the squared loss function.