MAIDR JavaScript API
    Preparing search index...

    Interface PercentileBandPoint

    One position along a percentile band (fan chart): the distribution at one x, as an ordered list of its quantiles.

    A percentile_band layer is PercentileBandPoint[], one entry per x in drawn order. The layer's levels are every level any point declares; a point that leaves one out has a gap there. The quantiles pair up into nested bands from the outside in -- the lowest level with the highest, the second lowest with the second highest -- and an odd one in the middle is the median the bands surround. The pairing is by position in the sorted list, so the levels are expected to be symmetric about 0.5 the way every fan chart draws them; a band whose two levels are not is named by both of them rather than as a "middle" share.

    // one training step of a TensorBoard distribution
    {
    x: 100,
    quantiles: [
    { level: 0, value: -0.92 },
    { level: 0.0668, value: -0.61 },
    { level: 0.1587, value: -0.31 },
    { level: 0.3085, value: -0.12 },
    { level: 0.5, value: 0.02 },
    { level: 0.6915, value: 0.16 },
    { level: 0.8413, value: 0.35 },
    { level: 0.9332, value: 0.64 },
    { level: 1, value: 0.97 },
    ],
    }
    interface PercentileBandPoint {
        x: string | number;
        quantiles: PercentileBandQuantile[];
    }
    Index

    Properties

    Properties

    x: string | number

    The position along the band: a step, a time, a forecast horizon.

    The distribution's quantiles at this x, in any order.