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

Fix pickling SDMs #55

Merged
merged 3 commits into from
Jul 16, 2015
Merged

Fix pickling SDMs #55

merged 3 commits into from
Jul 16, 2015

Conversation

patricksnape
Copy link
Contributor

There was a bug whereby we were passing the features method
of the regressors into the SDM, which is not pickeable because
the method will be unbound when being serialized. I just
abstracted that into a callable to capture the state
and added a new method to return this new callable rather than
passing a reference to it.

There was a bug whereby we were passing the features method
of the regressors into the SDM, which is not pickeable because
the method will be unbound when being serialized. I just
abstracted that into a callable to capture the state
and added a new method to return this new callable rather than
passing a reference to it.
@patricksnape
Copy link
Contributor Author

test this please

patricksnape pushed a commit that referenced this pull request Jul 16, 2015
@patricksnape patricksnape merged commit a4fcc16 into master Jul 16, 2015
@patricksnape patricksnape deleted the sdm_pickle branch July 16, 2015 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants