-
Notifications
You must be signed in to change notification settings - Fork 389
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
feat: r/demo/games/ga #3208
base: master
Are you sure you want to change the base?
feat: r/demo/games/ga #3208
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the CI. Also, I think this could be made a bit more interactive and it could stay under the games/
subfolder. Maybe think about creating a Render function that could allow users to modify the target, etc.
|
||
// Step 3: Check for Solution | ||
best := findBestIndividual(population) | ||
//fmt.Printf("Generation %d: %s (Fitness: %f)\n", generation, best.Genome, best.Fitness) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?
) | ||
|
||
func main() { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra newline
"math" | ||
|
||
"gno.land/p/demo/entropy" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can make this have a Render function?
Converting to draft, feel free to undraft once changes are applied / reviewed. |
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
An Genetic Algorithm demo, can be regarded as a use case of
r/demo/entropy
.Maybe should be moved to some other namespace.
Contributors' checklist...
BREAKING CHANGE: xxx
message was included in the description