Simpler more general build_state
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Search the repository for the build_state function and inspect the other example referenced in the issue for its base-conversion approach. Verify the generalized state encoding with NUM_BINS set to 20 and confirm existing feature combinations still produce distinct states.
Written by the indexing model from the issue text.
Description
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]
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 6.4k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lazyprogrammer/machine_learning_examples
-
Umair Open
Difficulty 3/5 1-2 days Newbie friendliness 15/100
-
AB Testing learning Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
lazyprogrammer/machine_learning_examples#97 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
lazyprogrammer/machine_learning_examples#58 · 1 comment ·
-
Some removals Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
All issues in lazyprogrammer/machine_learning_examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100