update_algorithm {countts} | R Documentation |
Updating parameters in algorithm
Description
Updating parameters in algorithm
Usage
update_algorithm(
dist = c("Negative Binomial", "Poisson", "Linear TS", "ZIP", "ZINB"),
Y_dist = 2,
X_dist = 3,
alpha_dist = 4,
Bt = NULL,
bt = NULL
)
Arguments
dist |
tuning parameter that controls which algorithm should be updated, with the options "Negative Binomial", "Poisson", "Linear TS", "ZIP", "ZINB" |
Y_dist |
History of the observed stochastic outcome at the current decision time |
X_dist |
History of the observed context at the current decision time |
alpha_dist |
tuning parameter that controls the exploration-exploitation tradeoff. Default is 1. |
Bt |
Outer product of contexts, only for |
bt |
Sum of contexts weighted by the outcome, only for |
Value
The updated parameter estimates.
Examples
update_algorithm(dist = "Negative Binomial")
[Package countts version 0.1.0 Index]