Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naive model - Length of passed values is 100, index implies 88. #199

Closed
capelastegui opened this issue Mar 23, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@capelastegui
Copy link
Contributor

======================================================================
ERROR: test_run_forecast_naive2 (tests.test_forecast.TestForecast)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/sky-uk/anticipy/tests/test_forecast.py", line 1873, in test_run_forecast_naive2
    season_add_mult='add')
  File "/home/travis/build/sky-uk/anticipy/anticipy/forecast.py", line 946, in run_forecast
    use_cache=use_cache
  File "/home/travis/build/sky-uk/anticipy/anticipy/forecast.py", line 1373, in run_forecast_single
    df_actuals=df_actuals_interpolated)
  File "/home/travis/build/sky-uk/anticipy/anticipy/forecast.py", line 728, in extrapolate_model
    s_y_forecast = pd.Series(data=a_y_forecast, index=s_x.index, name='y')
  File "/home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/pandas/core/series.py", line 314, in __init__
    f"Length of passed values is {len(data)}, "
ValueError: Length of passed values is 100, index implies 88.
@capelastegui capelastegui added the bug Something isn't working label Mar 23, 2021
@capelastegui
Copy link
Contributor Author

Caused by #198 - need to integrate change with extrapolate_model(), get_s_x_extrapolate()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant