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

docstring for regression.linear_model.RegressionModel.predict() does not match implementation #1614

Closed
chatcannon opened this issue Apr 20, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@chatcannon
Copy link
Contributor

commented Apr 20, 2014

Docstring says 'params' is optional if the model has not been fit, but the implementation does not allow 'params' to be absent.

@josef-pkt

This comment has been minimized.

Copy link
Member

commented Apr 20, 2014

Thanks, that statement is outdated by a few versions.
(we dropped attaching results to the model instance because of circular reference)
the model predict always requires params, but x/exog is optional.

chatcannon added a commit to chatcannon/statsmodels that referenced this issue May 18, 2014

@josef-pkt

This comment has been minimized.

Copy link
Member

commented May 20, 2014

@chatcannon Do you want to open the pull request for your correction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.