screamer.js
    Preparing search index...

    Interface BayesianRegressionOptions

    The settings of BayesianRegression by name, for BayesianRegression({ ... }).

    interface BayesianRegressionOptions {
        alpha?: number | null;
        com?: number | null;
        halflife?: number | null;
        priorPrecision?: number;
        priorSigma?: number;
        span?: number | null;
    }
    Index
    alpha?: number | null

    Smoothing factor, with 0 < alpha < 1; a larger alpha gives recent samples more weight. Give exactly one of com, span, halflife and alpha.

    com?: number | null

    Center of mass c, giving alpha = 1 / (1 + c). Must be positive. Give exactly one of com, span, halflife and alpha.

    halflife?: number | null

    Half-life h in samples, giving alpha = 1 - exp(-ln(2) / h). Must be positive. Give exactly one of com, span, halflife and alpha.

    priorPrecision?: number

    Prior precision of the intercept and slope, which have prior mean 0. Larger values pull the coefficients toward zero more strongly. Must be positive.

    1.0

    priorSigma?: number

    Prior guess of the noise standard deviation: the prior mean of the noise variance is prior_sigma^2. Must be positive.

    1.0

    span?: number | null

    Span s in samples, giving alpha = 2 / (s + 1). Must be greater than 1. Give exactly one of com, span, halflife and alpha.