-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIR-F model: optimize weight of variables in parameter estimation error function #196
Comments
With the change of weights, stdout was changed to
|
With refactoring (creating
|
In the previous versions, difference of actual and predicted values of recent records were weightened. However, this is un-necessary because the phases are shortened with update of S-R trend analysis. This results in
|
Will be fixed in version 2.7.1 |
Summary
In parameter estimation of SIR-F model, weight of variables in error function is set to
(S, I, R, F)=(1, 10, 10, 2)
. This means score of error function is(S_diff * 1 + I_diff * 10 + R_diff * 10 + F_diff * 2) / 23
.However,
(S, I, R, F)=(1, 1, 1, 1)
seems better for performance. Because allowance of estimation was restricted in #165, this change does not impact on the quality of estimation.Related classes
covsirphy.SIRF
covsirphy.Estimator
Codes and outputs:
In my local environment, the stdout is as follows.
Environment
The text was updated successfully, but these errors were encountered: