Implemented ndpi_ses_fitting() and ndpi_des_fitting()

for comuting the best alpha/beta values for exponential smoothing
This commit is contained in:
Luca Deri
2021-10-12 13:08:58 +02:00
parent d947437233
commit 937357e4bc
3 changed files with 120 additions and 2 deletions
+4
View File
@@ -4191,6 +4191,8 @@ void sesUnitTest() {
}
if(fd) fclose(fd);
ndpi_ses_fitting(v, num, &alpha); /* Compute the best alpha */
}
/* *********************************************** */
@@ -4261,6 +4263,8 @@ void desUnitTest() {
}
if(fd) fclose(fd);
ndpi_des_fitting(v, num, &alpha, &beta); /* Compute the best alpha/beta */
}
/* *********************************************** */