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

Make Runner work with unhashable points #267

Closed
basnijholt opened this issue Apr 16, 2020 · 1 comment · Fixed by #268
Closed

Make Runner work with unhashable points #267

basnijholt opened this issue Apr 16, 2020 · 1 comment · Fixed by #268

Comments

@basnijholt
Copy link
Member

Currently Runners do not support the points to be unhashable. This leads to #265.

Allowing the Runner to work with any points would simplify the SequenceLearner and means we wouldn't have to convert numpy arrays to tuples in all other learners.

@akhmerov
Copy link
Contributor

means we wouldn't have to convert numpy arrays to tuples in all other learners.

Not necessarily—the other learners might still rely on dictionaries for the internal data structure.

Still the runner doesn't really need to store a lot of state, and making its interface more general is an improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants