Links
Update the mean and standard deviation of a group of values after a sample update.
new_sample (float) – The new sample to be included.
float
new_count (int) – The new count of samples (including new_sample).
int
old_mean (float) – The previous mean (N - 1).
old_std (float) – The previous standard deviation (N - 1).
Updated mean and standard deviation.
tuple[float, float]
tuple[float
float]
new_sample (float)
new_count (int)
old_mean (float)
old_std (float)