Logistic log-loss function of one variable

From Calculus
Revision as of 17:53, 12 September 2014 by Vipul (talk | contribs)

Definition

The logistic log-loss function of one variable is obtained by composing the logarithmic cost function with the logistic function, and it is of importance in the analysis of logistic regression.

Explicitly, the function has the form:

f(x)=(pln(g(x))+(1p)ln(1g(x)))

where g is the logistic function and ln denotes the natural logarithm. Explicitly, g(x)=11+ex.

Note that 1g(x)=g(x), so the above can be written as:

f(x)=(pln(g(x))+(1p)ln(g(x)))

We restrict p to the interval [0,1]. Conceptually, p is the corresponding probability.

More explicitly, f is the function:

f(x)=pln(1+ex)+(1p)ln(1+ex)