map_pipeline_names

lightautoml.pipelines.utils.map_pipeline_names(input_names, output_names)[source]

Pipelines create name in the way ‘prefix__feature_name’.

Multiple pipelines will create names in the way ‘prefix1__prefix2__feature_name’. This function maps initial features names to outputs. Result may be not exact in some rare cases, but it’s ok for real pipelines.

Parameters:
  • input_names (Sequence[str]) – Initial feature names.

  • output_names (Sequence[str]) – Output feature names.

Return type:

List[Optional[str]]

Returns:

Mapping between feature names.