commit 7b6a1c931d4f3511dbdd5a623db50a82188af556
parent 0458b96388d15bb78c1543ca53a11db6c3472bab
Author: Dominik Schmidt <das1993@hotmail.com>
Date: Fri, 8 Jun 2018 14:28:58 +0000
Use also the outliers to adapt gaussians.
50 outliers should not affect the mean drastically (in fact, it affects it by 0.99999^50≃0.99950), and we do not ignore potential changes if we have a really small variance
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/laundrysorcery.c b/src/laundrysorcery.c
@@ -98,7 +98,6 @@ void process_datapoint(double delta_t){
toggle_on_off();
consecutive_outliers=0;
}
- return; //dont update gaussians with outliers
}
else{
consecutive_outliers=0;