A function that creates a new classifier with numClasses set.
A function that creates a new classifier with numClasses set.
A function that creates a new linear model with parameters w.
A function that creates a new linear model with parameters w.
A stateless function that calculates the gradient of the loss function wrt.
A stateless function that calculates the gradient of the loss function wrt. model parameters.
A stateless function that calculates the value of the loss function.
A stateless function that calculates the value of the loss function.
A stateless function that predicts probability of each class.
A stateless function that predicts probability of each class.
A stateless function that predicts a target variable.
A stateless function that predicts a target variable.
Parameters (weights) of a linear model, i.e.
Parameters (weights) of a linear model, i.e. the state of the model.
A function that is guaranteed to receive an appropriate target variable when called.
A function that is guaranteed to receive an appropriate target variable when called. Additionally, the object is guaranteed not to be fitted.
A function that is guaranteed to be called on a fitted model.
A function that is guaranteed to be called on a fitted model.