Composer

class fedot.core.composer.composer.Composer(optimizer, composer_requirements=None)[source]

Bases: abc.ABC

Base class used for receiving composite operations via optimization

Parameters
abstract compose_pipeline(data)[source]

Run composition process for optimal pipeline structure search

Parameters

data (Union[InputData, fedot.core.data.multi_modal.MultiModalData]) – Data used for problem solving

Returns

For single-objective optimization -> the best pipeline.

For multi-objective optimization -> a list of the best pipelines is returned.

Return type

Union[fedot.core.pipelines.pipeline.Pipeline, List[fedot.core.pipelines.pipeline.Pipeline]]

Notes

Returned pipelines are ordered by the descending primary metric (the first is the best).