Closed grantjenks closed 7 years ago
See Issue #2 also. This also motivates get_params, set_params methods.
I also think that these methods will render pickle useless since they accomplish the same but more efficient. If pickle support is really necessary following docs might help https://docs.python.org/3/library/pickle.html#persistence-of-external-objects
I think we could map __getstate__
to get_state
and __setstate__
to set_state
and pickle would work again. I'm not sure if __reduce__
is also necessary.
I'll look into that tomorrow.
Deployed at 1.2.1