Comments (5)
Thanks for the bug report @Vfisa. Does it depend on the dataframe you pass in, or is for any dataframe? Would you mind sharing your input data?
from prophet.
Hi. thanks for a quick response!
I believe the issue is on my machine with P2.7, since it runs correctly on the corporate docker image (P3.6).
from prophet.
I'm unable to replicate the issue with those data, can you verify that pystan is working correctly?
>>> import pystan
>>> model_code = 'parameters {real y;} model {y ~ normal(0,1);}'
>>> model = pystan.StanModel(model_code=model_code)
>>> y = model.sampling(n_jobs=1).extract()['y']
>>> y.mean() # with luck the result will be near 0
from prophet.
[Running] python "test_pystan.py"
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_5944b02c79788fa0db5b3a93728ca2bf NOW.
Traceback (most recent call last):
File "test_pystan.py", line 4, in
y = model.sampling(n_jobs=1).extract()['y']
File "/Library/Python/2.7/site-packages/pystan/model.py", line 703, in sampling
control=control, **kwargs)
File "/Library/Python/2.7/site-packages/pystan/misc.py", line 484, in _config_argss
argss[i] = _get_valid_stan_args(argss[i])
File "/Library/Python/2.7/site-packages/pystan/misc.py", line 503, in _get_valid_stan_args
args['method'] = stan_args_method_t.SAMPLING
AttributeError: 'Enum' object has no attribute 'SAMPLING'
from prophet.
This almost has to be a PyStan version problem.
https://github.com/stan-dev/pystan/blob/develop/pystan/constants.py#L19 is the current code in PyStan and it hasn't changed in over a year.
You should try to reinstall PyStan, and if it still is broken, file an issue with PyStan. Thanks!
from prophet.
Related Issues (20)
- prophet.serialize FutureWarning: The behavior of Timestamp.utcfromtimestamp is deprecated...
- Seeking clarification on setting custom holiday prior scale HOT 2
- Schedule retrain an existing prophet model HOT 6
- New Forecasts on existing data different than original forecast.
- Problem with turtle andy pygame
- python: can't open file '/home/chris/cupp.py': [Errno 2] No such file or directory
- cant install fbprophet using pip install fbprophet HOT 2
- change cost function to Sum of square error
- Numpy dependency version needs to be bumped to 1.20.x for numpy.typing
- Weekend predictions and holidays on high frequency daily data
- I have a issue in installation of prophet library HOT 2
- error in pip install pystan, cython was installed, does anyone know how to solve it?
- Fit params for kwargs
- fbprophet installing error HOT 1
- RuntimeError: Error during optimization: console log output: dyld[10867]: Symbol not found
- pip install guardrails getting this error HOT 2
- Prophet Training Speed: Intel vs Apple M1/M2 HOT 2
- RuntimeError: Error during optimization! HOT 3
- fbprophet install error fix
- BUG - Cannot predict on using logistic -> All-NaN slice encountered HOT 1
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 prophet.