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

Public API / documentation for # generations executed #161

Open
chimaerase opened this issue Nov 12, 2024 · 0 comments
Open

Public API / documentation for # generations executed #161

chimaerase opened this issue Nov 12, 2024 · 0 comments

Comments

@chimaerase
Copy link

chimaerase commented Nov 12, 2024

The number of generations executed (not planned as in the generations param) is prominently featured in TPOTEstimator's output, but doesn't appear to be accessible via its public API. I am testing progressively longer hyperparameter optimization of several ML models using TPOT2, and it would be useful to get this information directly from public / documented API that I have some assurance will be durable over time.

The best / only way I've found to get this so far is from estimator._evolver_instance.generation. estimator.evaluated_individuals seems to have the first generation each model was introduced, which isn't informative in recording when / why my optimization hit an early stop limit.

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