{"action":"created","issue":{"url":"https://api.github.com/repos/tgsmith61591/pyramid/issues/34","repository_url":"https://api.github.com/repos/tgsmith61591/pyramid","labels_url":"https://api.github.com/repos/tgsmith61591/pyramid/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/tgsmith61591/pyramid/issues/34/comments","events_url":"https://api.github.com/repos/tgsmith61591/pyramid/issues/34/events","html_url":"https://github.com/tgsmith61591/pyramid/issues/34","id":363915349,"node_id":"MDU6SXNzdWUzNjM5MTUzNDk=","number":34,"title":"AttributeError: module 'pyramid' has no attribute '__version__'","user":{"login":"nikhilsharma010","id":8747836,"node_id":"MDQ6VXNlcjg3NDc4MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/8747836?v=4","gravatar_id":"","url":"https://api.github.com/users/nikhilsharma010","html_url":"https://github.com/nikhilsharma010","followers_url":"https://api.github.com/users/nikhilsharma010/followers","following_url":"https://api.github.com/users/nikhilsharma010/following{/other_user}","gists_url":"https://api.github.com/users/nikhilsharma010/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilsharma010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilsharma010/subscriptions","organizations_url":"https://api.github.com/users/nikhilsharma010/orgs","repos_url":"https://api.github.com/users/nikhilsharma010/repos","events_url":"https://api.github.com/users/nikhilsharma010/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilsharma010/received_events","type":"User","site_admin":false},"labels":[{"id":572912968,"node_id":"MDU6TGFiZWw1NzI5MTI5Njg=","url":"https://api.github.com/repos/tgsmith61591/pyramid/labels/bug","name":"bug","color":"ee0701","default":true},{"id":1070052370,"node_id":"MDU6TGFiZWwxMDcwMDUyMzcw","url":"https://api.github.com/repos/tgsmith61591/pyramid/labels/namespace%20collision","name":"namespace collision","color":"fc7671","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tgsmith61591/pyramid/milestones/2","html_url":"https://github.com/tgsmith61591/pyramid/milestone/2","labels_url":"https://api.github.com/repos/tgsmith61591/pyramid/milestones/2/labels","id":3690141,"node_id":"MDk6TWlsZXN0b25lMzY5MDE0MQ==","number":2,"title":"Package name migration","description":"Related to #34, we'll need to migrate the package name in 0.10.X+. This will break backward compatibility.","creator":{"login":"tgsmith61591","id":6124706,"node_id":"MDQ6VXNlcjYxMjQ3MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/6124706?v=4","gravatar_id":"","url":"https://api.github.com/users/tgsmith61591","html_url":"https://github.com/tgsmith61591","followers_url":"https://api.github.com/users/tgsmith61591/followers","following_url":"https://api.github.com/users/tgsmith61591/following{/other_user}","gists_url":"https://api.github.com/users/tgsmith61591/gists{/gist_id}","starred_url":"https://api.github.com/users/tgsmith61591/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgsmith61591/subscriptions","organizations_url":"https://api.github.com/users/tgsmith61591/orgs","repos_url":"https://api.github.com/users/tgsmith61591/repos","events_url":"https://api.github.com/users/tgsmith61591/events{/privacy}","received_events_url":"https://api.github.com/users/tgsmith61591/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-09-26T12:43:47Z","updated_at":"2018-09-26T12:43:55Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2018-09-26T08:36:04Z","updated_at":"2018-10-25T19:42:08Z","closed_at":null,"author_association":"NONE","body":"<!-- Instructions For Filing a Bug: https://github.com/scikit-learn/scikit-learn/blob/master/CONTRIBUTING.md#filing-bugs -->\r\n\r\n#### Description\r\nI was trying to read about ARIMA models via this link\r\n\r\nhttps://medium.com/@josemarcialportilla/using-python-and-auto-arima-to-forecast-seasonal-time-series-90877adff03c\r\n\r\nand while training the model i got the following error\r\n#### Steps/Code to Reproduce\r\n<!--\r\nExample:\r\n```python\r\nfrom pyramid.arima import auto_arima\r\nstepwise_model = auto_arima(data, start_p=1, start_q=1,\r\n                           max_p=3, max_q=3, m=12,\r\n                           start_P=0, seasonal=True,\r\n                           d=1, D=1, trace=True,\r\n                           error_action='ignore',  \r\n                           suppress_warnings=True, \r\n                           stepwise=True)\r\nprint(stepwise_model.aic())\r\n```\r\n-->\r\n\r\n#### Expected Results\r\n\r\nThe resulting best model parameters should give us an AIC value of 1771.29.\r\n\r\n#### Actual Results\r\n\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-24-8d09c2f9b8c9> in <module>()\r\n      5                            error_action='ignore',\r\n      6                            suppress_warnings=True,\r\n----> 7                            stepwise=True)\r\n\r\n/anaconda3/lib/python3.6/site-packages/pyramid/arima/auto.py in auto_arima(y, exogenous, start_p, d, start_q, max_p, max_d, max_q, start_P, D, start_Q, max_P, max_D, max_Q, max_order, m, seasonal, stationary, information_criterion, alpha, test, seasonal_test, stepwise, n_jobs, start_params, trend, method, transparams, solver, maxiter, disp, callback, offset_test_args, seasonal_test_args, suppress_warnings, error_action, trace, random, random_state, n_fits, return_valid_fits, out_of_sample_size, scoring, scoring_args, **fit_args)\r\n    626 \r\n    627         # fit a baseline p, d, q model and then a null model\r\n--> 628         stepwise_wrapper.fit_increment_k_cache_set(True)  # p, d, q, P, D, Q\r\n    629         stepwise_wrapper.fit_increment_k_cache_set(\r\n    630             True, p=0, q=0, P=0, Q=0)  # null model\r\n\r\n/anaconda3/lib/python3.6/site-packages/pyramid/arima/auto.py in fit_increment_k_cache_set(self, expr, p, q, P, Q)\r\n    779                              out_of_sample_size=self.out_of_sample_size,\r\n    780                              scoring=self.scoring,\r\n--> 781                              scoring_args=self.scoring_args)\r\n    782 \r\n    783             # use the orders as a key to be hashed for\r\n\r\n/anaconda3/lib/python3.6/site-packages/pyramid/arima/auto.py in _fit_arima(x, xreg, order, seasonal_order, start_params, trend, method, transparams, solver, maxiter, disp, callback, fit_params, suppress_warnings, trace, error_action, out_of_sample_size, scoring, scoring_args)\r\n    846                     out_of_sample_size=out_of_sample_size, scoring=scoring,\r\n    847                     scoring_args=scoring_args)\\\r\n--> 848             .fit(x, exogenous=xreg, **fit_params)\r\n    849 \r\n    850     # for non-stationarity errors or singular matrices, return None\r\n\r\n/anaconda3/lib/python3.6/site-packages/pyramid/arima/arima.py in fit(self, y, exogenous, **fit_args)\r\n    375         # As of version 0.7.2, start saving the version with the model so\r\n    376         # we can track changes over time.\r\n--> 377         self.pkg_version_ = pyramid.__version__\r\n    378         return self\r\n    379 \r\n\r\nAttributeError: module 'pyramid' has no attribute '__version__'\r\n\r\n#### Versions\r\n<!--\r\nimport platform; print(platform.platform())\r\nimport sys; print(\"Python\", sys.version)\r\n#import pyramid; print(\"Pyramid\", pyramid.__version__)\r\nimport numpy; print(\"NumPy\", numpy.__version__)\r\nimport scipy; print(\"SciPy\", scipy.__version__)\r\nimport sklearn; print(\"Scikit-Learn\", sklearn.__version__)\r\nimport statsmodels; print(\"Statsmodels\", statsmodels.__version__)\r\nDarwin-17.6.0-x86_64-i386-64bit\r\nPython 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37) \r\n[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]\r\nNumPy 1.14.3\r\nSciPy 1.1.0\r\nScikit-Learn 0.19.1\r\nStatsmodels 0.9.0\r\n\r\nimport pyramid; print(\"Pyramid\", pyramid.__version__)\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-27-595c249c0410> in <module>()\r\n----> 1 import pyramid; print(\"Pyramid\", pyramid.__version__)\r\n\r\nAttributeError: module 'pyramid' has no attribute '__version__'\r\n\r\n-->\r\n\r\n\r\n<!-- Thanks for contributing! -->\r\n"},"comment":{"url":"https://api.github.com/repos/tgsmith61591/pyramid/issues/comments/433180058","html_url":"https://github.com/tgsmith61591/pyramid/issues/34#issuecomment-433180058","issue_url":"https://api.github.com/repos/tgsmith61591/pyramid/issues/34","id":433180058,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzE4MDA1OA==","user":{"login":"tgsmith61591","id":6124706,"node_id":"MDQ6VXNlcjYxMjQ3MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/6124706?v=4","gravatar_id":"","url":"https://api.github.com/users/tgsmith61591","html_url":"https://github.com/tgsmith61591","followers_url":"https://api.github.com/users/tgsmith61591/followers","following_url":"https://api.github.com/users/tgsmith61591/following{/other_user}","gists_url":"https://api.github.com/users/tgsmith61591/gists{/gist_id}","starred_url":"https://api.github.com/users/tgsmith61591/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgsmith61591/subscriptions","organizations_url":"https://api.github.com/users/tgsmith61591/orgs","repos_url":"https://api.github.com/users/tgsmith61591/repos","events_url":"https://api.github.com/users/tgsmith61591/events{/privacy}","received_events_url":"https://api.github.com/users/tgsmith61591/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T19:42:08Z","updated_at":"2018-10-25T19:42:08Z","author_association":"OWNER","body":"Yep. The plan is to eventually migrate to `pmdarima` and away from the current `pyramid-arima`. The original name came from a near anagram of \"py\" + \"arima\", but it's no longer punny given the namespace troubles 😄 "}}
{"actor":{"display_login":"tgsmith61591"}}