-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
& ris-bali [ENH] statsmodels DynamicFactor interface #2859
Conversation
…d wrote small ipynb test file using check_estimator
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I think I understand the problem now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Blocking comments:
- we need to remove the notebook
testfile.ipynb
. - the estimator should be added to the API reference in an appropriate section.
I also left a number of small, non-blocking comments, above.
On the second point, what exactly should be done? One example would be helpful :) |
goto |
the right section, is that perhaps "Structural time series models"? |
Only saw this now but yes, it is where I placed it. |
Well, you managed to do it incorrectly, as the failed doctest tells us. Let me check... |
... odd, looks correct. |
ah, looks like a typo in the "references" section of the new estimator. See "details" next to the doc build, maybe you can find out what exactly the typo is. |
It is complaining that the output is too long? Could it be due to the fact that I changed |
hm, estimator tests are failing now - any idea why? Perhaps you would like to change it back to the last state where they were not? |
The only reasons I can think of are:
Let us see if the new commit addresses the problem. |
But, should it not be
Why did you do this? The docs are still not building, btw, kindly check for typos. |
This was just a quick edit to see whether the problem comes from here. EDIT: it does, once one changes the I think it should also work for univariate, but I will check. EDIT: it also does not work in statsmodels.
The docs were being built fine in a previous commit, reverted to see if this was the change that broke it, but aparently not.
Will do |
Ah, ok - then the value |
Tried to replicate |
Yes, looks like it! All green! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks!
Great, on to the next topic (which should be implementing predict_proba if I'm not lazy)! |
Reference Issues/PRs
Addresses #2349. There are multiple failed tests due to the behavior of the
_predict
method, but further exploration intestfile.ipynb
suggests that the method's behavior is actually correct. Could be that tests are wrong?What does this implement/fix? Explain your changes.
Deeper look into #2349 failed tests using check_estimator.
Does your contribution introduce a new dependency? If yes, which one?
What should a reviewer concentrate their feedback on?
Any other comments?
(At least) Two outstanding points:
predict_proba
method;PR checklist
For all contributions
For new estimators