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

Simpler more general build_state #12

Open
ericmock opened this issue Nov 1, 2017 · 0 comments
Open

Simpler more general build_state #12

ericmock opened this issue Nov 1, 2017 · 0 comments

Comments

@ericmock
Copy link

ericmock commented Nov 1, 2017

If you want to try more than 10 bins you can use the idea from one of your other examples... convert base NUM_BINS to base 10.

NUM_BINS = 20
def build_state(features):
val = NUM_BINS3 * features[3] + NUM_BINS2 * features[2] + NUM_BINS*features[1]+features[0]

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