1. 21 4月, 2021 4 次提交
  2. 16 4月, 2021 1 次提交
  3. 14 4月, 2021 1 次提交
  4. 04 4月, 2021 2 次提交
  5. 03 4月, 2021 1 次提交
  6. 30 3月, 2021 3 次提交
  7. 27 3月, 2021 1 次提交
  8. 26 3月, 2021 2 次提交
  9. 24 3月, 2021 1 次提交
  10. 22 3月, 2021 1 次提交
    • B
      Pakage rename (#1844) · 6d81543e
      Ben Letham 提交于
      * Rename package from fbprophet to prophet, and add shim
      
      * Untrack files that should have been ignored
      
      * Update github actions build commands
      6d81543e
  11. 21 3月, 2021 2 次提交
  12. 09 3月, 2021 1 次提交
    • L
      Fix the issue #1814 · fc8fa49a
      loulo1 提交于
      I did as PyStanBackend. And now when we use the method fit of Prophet, we can do like in the documentation:
      
      https://facebook.github.io/prophet/docs/additional_topics.html#updating-fitted-models
      
      def stan_init(m):
          """Retrieve parameters from a trained model.
      
          Retrieve parameters from a trained model in the format
          used to initialize a new Stan model.
      
          Parameters
          ----------
          m: A trained model of the Prophet class.
      
          Returns
          -------
          A Dictionary containing retrieved parameters of m.
      
          """
          res = {}
          for pname in ['k', 'm', 'sigma_obs']:
              res[pname] = m.params[pname][0][0]
          for pname in ['delta', 'beta']:
              res[pname] = m.params[pname][0]
          return res
      
      df = pd.read_csv('../examples/example_wp_log_peyton_manning.csv')
      df1 = df.loc[df['ds'] < '2016-01-19', :]  # All data except the last day
      m1 = Prophet().fit(df1) # A model fit to all data except the last day
      
      %timeit m2 = Prophet().fit(df)  # Adding the last day, fitting from scratch
      %timeit m2 = Prophet().fit(df, init=stan_init(m1))  # Adding the last day, warm-starting from m1
      
      Update models.py
      
      Update models.py
      
      Update models.py
      
      Update models.py
      
      Update models.py
      
      Update models.py
      
      Update models.py
      
      Test
      
      Test2
      
      Test4
      
      Test4
      
      Test are fixed
      fc8fa49a
  13. 06 3月, 2021 1 次提交
  14. 05 3月, 2021 5 次提交
  15. 04 3月, 2021 13 次提交
  16. 03 3月, 2021 1 次提交