adjust_estimation

adjust_estimation(i: int, k: int, sse: numpy.ndarray, sse_one_bin: numpy.ndarray) float[source]

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

Parameters
  • i (int) – left border of series

  • k (int) – number of bins

  • sse (numpy.ndarray) – array of approximation errors

  • sse_one_bin (numpy.ndarray) – array of approximation errors with one bin

Returns

result – calculated sse_one_bin[i][k]

Return type

float