mirror of
https://github.com/JHUAPL/SIMoN.git
synced 2026-01-09 14:57:56 -05:00
add reference for Holt's method
Former-commit-id: 256ee703242130509232553c8c6eea01a88e5439
This commit is contained in:
@@ -15,6 +15,7 @@ def pop_sim(init_data, num_increments):
|
||||
for key, county in init_data.items():
|
||||
population = pd.Series(county)
|
||||
|
||||
# https://www.statsmodels.org/stable/examples/notebooks/generated/exponential_smoothing.html#Holt's-Method
|
||||
fit1 = Holt(np.asarray(population)).fit(
|
||||
smoothing_level=0.7, smoothing_slope=0.3
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user