Learn R Programming

bmrm (version 3.0)

logisticRegressionLoss: The loss function to perform a logistic regression

Description

The loss function to perform a logistic regression

Usage

logisticRegressionLoss(x, y)

Arguments

x
matrix of training instances (one instance by row)
y
numeric vector of values representing the training labels for each instance in x

Value

a function taking one argument w and computing the loss value and the gradient at point w

References

Teo et al. Bundle Methods for Regularized Risk Minimization JMLR 2010

See Also

bmrm