machine-learning classification statistics

Definition

Logistic Regression

Logistic regression is a probabilistic linear classifier that estimates the probability that an instance belongs to a specific class. Formally, the model applies the sigmoid function to a linear combination of features:

where is the weight vector and is the bias. Unlike the perceptron, logistic regression provides a continuous confidence estimate rather than a discrete label.

Optimisation

The parameters and are identified by minimising the empirical risk with the log-loss (cross-entropy) function:

where . Since the objective is convex, it is typically solved using gradient descent.