Comments (8)
Hi!
Try:
pip install prophet
and try again. I don't include prophet as a required library because it has a lot of known installation issues.
from scalecast.
Thank you so much Mike!
from scalecast.
Issued solved. Thank you!
from scalecast.
Hi Michael, could you please help with a further error with prophet? My data has 53 observations. After taking a first order differencing, now there are 52 observations. After I feed the data into the models by running the code below. Everything is good except an error with prophet:
Code:
f.set_validation_length(6)
models = ('mlr','knn','svr','xgboost','gbt','elasticnet','mlp', 'arima','prophet')
for m in models:
f.set_estimator(m)
f.tune() # by default, will pull grids from Grids.py
f.auto_forecast()
Error:
556 if floor is not None:
557 X["floor"] = floor
--> 558 X["y"] = self.y.to_list()
...
574 "does not match length of index "
575 f"({len(index)})"
576 )
ValueError: Length of values (52) does not match length of index (53)
Do you know what would possibly be the reason for the error?
Thank you so much!
Lily
from scalecast.
This looks like a bug. Give me second to look into it.
from scalecast.
I was able to reproduce the error and found the source of the issue. In the next update, this will be fixed. I could probably commit a new version today or tomorrow.
from scalecast.
Thank you Michael! Appreciate your help!
from scalecast.
Hi, this should be fixed with the new version of scalecast. Please upgrade is you have not already:
pip install --upgrade scalecast
Thanks for raising the issue!
from scalecast.
Related Issues (20)
- Error with Forecaster Attribute 'validation_metric_value' HOT 2
- Return a dataframe for the forecasted future values HOT 3
- ForecastError: Need at least 1 Xvar to forecast with the svr model. HOT 3
- How to save model if I also used scalecast to find optimal transformation? HOT 6
- Got Tuple index out of range issue when calling manual_forecast() for rnn HOT 5
- Forecasting using Dates but also Categorical (Exgegenuous) Features HOT 1
- low-level output error generated RuntimeError: Detected a call to `Model.fit` inside a `tf.function`. `Model.fit is a high-level endpoint that manages its own `tf.function`. Please move the call to `Model.fit` outside of all enclosing `tf.function`s. Note that you can call a `Model` directly on `Tensor`s inside a `tf.function` like: `model(x)`. HOT 3
- Silencing Warning and printing HOT 7
- additional regressor for prophet does not work HOT 5
- Implement callbacks on the prophet model.
- Generating new dates / Frequency not understood HOT 9
- Data size impacting tune_test_forecast() and find_optimal_transformation() HOT 3
- `impute_lookback=None` does not work for default `fill_strategy='moving_seasonal_average'` HOT 1
- Forecasts with only Positive values HOT 1
- HWES estimator produces forecasts of much larger magnitude with statsforecast 1.5.0 HOT 2
- Xvars are not found in the current_xreg dict keys HOT 2
- scalecast starter example won't import on mac HOT 3
- How to use best model and transformer from forecaster pipeline on new data without actual y HOT 6
- Feature Imps not storing with Forecaster.tune_test_forecast HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalecast.