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

Refactor iterator api #6

Closed
bmcfee opened this issue Feb 4, 2015 · 0 comments
Closed

Refactor iterator api #6

bmcfee opened this issue Feb 4, 2015 · 0 comments
Assignees
Milestone

Comments

@bmcfee
Copy link
Owner

bmcfee commented Feb 4, 2015

Stochastic iterators can be more simply designed with multiple inheritance.

A special state information function can be abstracted out, and all transformers (iterable or not) can be rewritten to access parameters through the state object. This way, sampling and transformation become separate.

This might even make more sense as a context manager.

@bmcfee bmcfee self-assigned this Feb 4, 2015
@bmcfee bmcfee added this to the 0.1 milestone Feb 4, 2015
@bmcfee bmcfee closed this as completed in a7b585b Feb 4, 2015
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