OptionalzOptionallabelOrdinal level name announced in place of the raw numeric y, for a chart
whose y axis is a category rather than a magnitude — a hypnogram's sleep
stages, a Likert response, a severity grade. y stays numeric because it
drives sonification, braille and the min/max range, so the human-readable
name has to travel alongside it.
An empty string counts as absent, so a producer that emits '' for an
unnamed level gets the numeric announcement rather than a blank one.
Omitting it entirely is the right shape for a continuous y.
OptionalyLower bound of the uncertainty around y, when the chart draws one.
A fitted curve almost always comes with a band, and it is the reason the
curve is drawn rather than a plain line: geom_smooth(se = TRUE) and
sns.regplot both default to one. Carried on the sample rather than in a
layer of its own so a reader hears the value and its interval at the same
x — the comparison a band exists for is whether the trend is
distinguishable from flat, and that cannot be made by navigating two
layers in turn.
Named to match ErrorBarPoint, so a producer that already computes an interval emits the same keys wherever it puts them.
Both bounds are optional and independent: a one-sided interval is a real chart, and a sample missing its bounds still carries its value.
OptionalyUpper bound of the uncertainty around y. See LinePoint.yMin.
The false positive rate at this threshold, from 0 to 1.
The true positive rate at this threshold, from 0 to 1, or null for a gap.
OptionalthresholdThe decision threshold this operating point was scored at.
It is the one number a reader can act on: the curve shows what each threshold costs and buys, and without it the reader learns the rates but not how to get them. Optional because a curve drawn from rates alone is still a ROC curve.
OptionalaucThe area under this curve, as the producer computed it.
Read from the first point of the curve that declares one, the way z
names a series from its first point. When no point declares it, the area
is the trapezoid rule over the curve's own points -- which is what
sklearn.metrics.auc and pROC::auc compute, so a producer that has the
number can pass it and one that does not can leave it out.
One operating point of a ROC curve: the false positive rate a classifier pays and the true positive rate it gets at one decision threshold.
A ROC layer is
RocPoint[][], one array per curve, so several classifiers (or the classes of one) are compared in one layer the way a multi-line layer holds several series;znames the curve, as it names a line. Both rates are fractions of one. Listed in any order: the area is measured over the points sorted byx.Example