.3106580201476295:a72bf9d7aab74855371f6d045909377f_69f5ecf1de92085ec7833909.69f5f533de92085ec7833ad3.69f5f533fbc5f84623048741:Trae CN.T(2026/5/2 20:59:31)#10
Open
stonelv wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
仍然缺关键实现:请把plot_metrics()真正暴露为pygad.GA的实例方法(例如在GA类中添加同名转发,或让GA继承/混入visualize里的实现),确保ga_instance.plot_metrics(show=False)可运行并返回matplotlib Figure。同步更新/新增一个可执行的自动化测试(pytest优先),不要只放examples脚本;保证CI/本地一条命令即可验证run()->to_csv()->plot_metrics()全链路无异常。