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

Replace endogenous variables with patsy formulae #64

Open
mattwigway opened this issue Dec 19, 2020 · 0 comments
Open

Replace endogenous variables with patsy formulae #64

mattwigway opened this issue Dec 19, 2020 · 0 comments

Comments

@mattwigway
Copy link
Owner

We should use patsy formulae rather than lambda functions to define endogenous variables. Lambda functions defined at the top level in Python fail after round-trip ser/deser with dill. Patsy formulae are just strings; if we used them for price-income transformations as well, we could remove the dependency on pickling altogether and serialize the entire model into an npz file.

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