-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Initial draft of version of model_builder to work with scikit-learn. #161
Initial draft of version of model_builder to work with scikit-learn. #161
Conversation
This looks great! I wonder if perhaps we should just make the base class directly use this API. But it certainly can't hurt to also try it out here first. |
Nice job on the fit refactoring! From what I see the model_builder was already compatible with scikit-learn or you didn't finish pushing the changes yet? |
This avoids issues with mutable objects as default parameters. It allows users to start from the default parameters and modify parts of them before passing them to __init__.
@michaelraczycki No, it wasn't compatible. I made a new file |
Here's a comparison of the APIs:
*** = abstract method requiring implementation in subclasses. |
Oh, I focused much more on the changes you've introduced to model_builder itself, I didn't go into the implementation of Bayesian Estimator that much in detail as It doesn't affect other projects so far. I really like the ideas you're proposing, could we schedule a short call to discuss Bayesian Estimator a bit in depth? I'm working on making the model_builder to a standard used by other pymc-related projects, and I wanted to discuss with you which of the API changes you've suggested are complete must-have for sklearn compatibility |
@michaelraczycki Ok, sounds good. How would you like to set it up? I'm in UTC+3. |
I'm in UTC+0, so anything after your lunch should work. My email is [email protected], if you shoot me a message with some time slots that suit you I can create a google meeting |
@pdb5627 is there something else you'd like to add here? |
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.
Amazing job, thank you for your contribution!
Indeed, this is great @pdb5627! |
Thanks, guys. I'm glad I could contribute. |
Resolves #155