alteryx / alteryx/evalml

Create common `create_pipelines` API for `AutoMLAlgorithm`

Open
#2,970 0 comments 0 reactions 0 assignees View on GitHub
enhancement needs design refactor tech debt
Dominant language
Python
Stars
850
Forks
96
PR merge metrics
No merged PRs in 30d

Description

Currently `IterativeAlgorithm` and `DefaultAlgorithm` creates their pipelines in different ways:

- `IterativeAlgorithm` has a `create_pipelines()` method that creates `allowed_pipelines` in one go. This is a by product of how the Algorithm only iterates on a set number of pipelines.
- `DefaultAlgorithm` has multiple pipeline creation methods as the pipelines for each batch varies. See `_create_naive_pipelines()` as an example.

#2945 added a `_set_additional_pipeline_params()` method to `AutoMLAlgorithm` that will set common pipeline parameters for both algorithms and sets a precedent for reusing logic between both algorithms. This issue tracks standardizing a pipeline creation API in `AutoMLAlgorithm` for both `IterativeAlgorithm` and `DefaultAlgorithm`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.