LogOddsContribution#

class scikitplot.corpus.LogOddsContribution(leg, position, score, probability, weight, evidence)[source]#

One leg’s evidence for one fused item.

Parameters:
legstr

The leg’s name.

positionint

Zero-based position of the leg in the call.

scorefloat

The raw score the leg gave the item.

probabilityfloat

The leg’s calibrated probability for that score, before clipping.

weightfloat

The leg’s weight.

evidencefloat

weight * (logit(clipped probability) - logit(leg prevalence)).

Parameters:
evidence: float[source]#
leg: str[source]#
position: int[source]#
probability: float[source]#
score: float[source]#
weight: float[source]#