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

Trained pipelines must be unique but get_pipeline() returns same pipeline names #4192

Open
ZacharakisAndreas opened this issue May 30, 2023 · 0 comments
Labels
bug Issues tracking problems with existing features.

Comments

@ZacharakisAndreas
Copy link

I want to store all the pipelines of an analysis trained using the train_pipelines() function. However when iterating through all the pipelines i get the following error:

ValueError: All pipeline names must be unique. The names '...', '...', '...' were repeated.

I am using the following code:

from evalml.automl import AutoMLSearch

automl = AutoMLSearch(X_train=X_train, y_train=y_train, problem_type='binary', max_time=100)
automl.search()
result = automl.train_pipelines(
            [
                automl.get_pipeline(i)
                for i in range(len(automl._results["search_order"]))
            ]
        )
print(result)
@ZacharakisAndreas ZacharakisAndreas added the bug Issues tracking problems with existing features. label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues tracking problems with existing features.
Projects
None yet
Development

No branches or pull requests

1 participant