This commit is contained in:
bl 2017-07-21 07:05:53 -07:00
commit 3060536563
2 changed files with 2 additions and 2 deletions

View file

@ -600,7 +600,7 @@ logistic_growth_init <- function(df) {
# Initialize the offset
m <- L0 * T / (L0 - L1)
# And the rate
k <- L0 / m
k <- (L0 - L1) / T
return(c(k, m))
}

View file

@ -644,7 +644,7 @@ class Prophet(object):
# Initialize the offset
m = L0 * T / (L0 - L1)
# And the rate
k = L0 / m
k = (L0 - L1) / T
return (k, m)
# fb-block 7