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

Changes in python's random module require a minor change for cxOnePointLeafBiased. #762

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

Ashrockzzz2003
Copy link
Contributor

@Ashrockzzz2003 Ashrockzzz2003 commented Jan 3, 2025

#733 already exists which is a fix for #732 but the PR is stale as code review changes were not addressed for 6+ months. This is an attempt to fix that. We were experimenting with deap to understand gp which is when we discovered this bug and saw it was already an issue. However before the fix, issue was closed.

This PR fixes #732

Please review @cyrilpic @professor @bollwyvl @jmmcd @keszybz @fmder
I didn't know exactly who to tag. That's y I tagged everyone.

@fmder
Copy link
Member

fmder commented Jan 3, 2025

Seeded choice does reproduce sample(x, 1)[0]. All good. Thanks

@fmder fmder merged commit 493ec0b into DEAP:master Jan 3, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

TypeError: Population must be a sequence. For dicts or sets, use sorted(d)
2 participants