Explorar el Código

Set noise prior variance to current value for linear growth model

Ben Letham hace 7 años
padre
commit
41d4ab472f
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      R/inst/stan/prophet.stan
  2. 1 1
      python/stan/unix/prophet.stan
  3. 1 1
      python/stan/win/prophet.stan

+ 1 - 1
R/inst/stan/prophet.stan

@@ -104,7 +104,7 @@ model {
   k ~ normal(0, 5);
   m ~ normal(0, 5);
   delta ~ double_exponential(0, tau);
-  sigma_obs ~ normal(0, 0.1);
+  sigma_obs ~ normal(0, 0.5);
   beta ~ normal(0, sigmas);
 
   // Likelihood

+ 1 - 1
python/stan/unix/prophet.stan

@@ -104,7 +104,7 @@ model {
   k ~ normal(0, 5);
   m ~ normal(0, 5);
   delta ~ double_exponential(0, tau);
-  sigma_obs ~ normal(0, 0.1);
+  sigma_obs ~ normal(0, 0.5);
   beta ~ normal(0, sigmas);
 
   // Likelihood

+ 1 - 1
python/stan/win/prophet.stan

@@ -149,7 +149,7 @@ model {
   k ~ normal(0, 5);
   m ~ normal(0, 5);
   delta ~ double_exponential(0, tau);
-  sigma_obs ~ normal(0, 0.1);
+  sigma_obs ~ normal(0, 0.5);
   beta ~ normal(0, sigmas);
 
   // Likelihood