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

Consider making densratio.density_ratio.DensityRatio pickable. #10

Open
mierzejk opened this issue Aug 4, 2020 · 0 comments
Open

Consider making densratio.density_ratio.DensityRatio pickable. #10

mierzejk opened this issue Aug 4, 2020 · 0 comments

Comments

@mierzejk
Copy link
Contributor

mierzejk commented Aug 4, 2020

Contingent upon data volume, as well as cross validation parameters, computing densratio.RuLSIF.RuLSIF function outcome can take significant time. Yet the result might be reusable, hence valuable. It would be nice if the resulting densratio.density_ratio.DensityRatio object could be pickable, according to What can be pickled and unpickled? Currently there is a non top-level function that is a member of the object's, so trying to dump the pickle brings about the Can't pickle local object 'RuLSIF.<locals>.alpha_density_ratio error.

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

No branches or pull requests

1 participant