Add the new feature of customized initial population #1352
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.
What does this PR do?
Add the new feature of allowing users to specify customized initial pipeline population for TPOT.
Where should the reviewer start?
tpot/tests/test_custom_iniPop.py and tpot/tpot/base.py
How should this PR be tested?
The test code is at tpot/tests/test_custom_iniPop.py:
You can test it by:
Any background context you want to provide?
Under this version, users can specify well-defined initial pipeline population in string format by themselves. This update has the potential to enhance the algorithm's performance and reduce evolutionary time.
Several Tips:
1. These string pipelines can be obtained in two ways:
2. We consider the relationship between #customized initial pipelines and #population as follows:
3. We also found that in this version, the configurations (i.e., operators and parameters) of customized initial pipelines should be a subset of those specified by the config_dict parameter. This issue can be noted in the documentation or can be addressed in the near future if you agree with this PR.
What are the relevant issues?
#1321
Questions:
Yes
No