hist_outliers

Functions

adjust_estimation(i, k, sse, sse_one_bin)

Count sse_one_bin[i][k] using binary search.

compute_f(series, k, p, pp)

Compute F.

get_anomalies_hist(ts[, in_column, bins_number])

Get point outliers in time series using histogram model.

hist(series, bins_number)

Compute outliers indices according to hist rule.

optimal_sse(left, right, p, pp)

Count the approximation error by 1 bin from left to right elements.

v_optimal_hist(series, bins_number, p, pp)

Count an approximation error of a series with [1, bins_number] bins.