SegmentGaleShapley¶
- class SegmentGaleShapley(name: str, ranked_candidates: List[str])[source]¶
Bases:
etna.transforms.feature_selection.gale_shapley.BaseGaleShapley
Class for segment member of Gale-Shapley matching.
Init SegmentGaleShapley.
- Parameters
name (str) – name of segment
ranked_candidates (List[str]) – list of features sorted descending by importance
- Inherited-members
Methods
Get name of the next feature to try.
reset_tmp_match
()Break tmp current.
set_params
(**params)Return new object instance with modified parameters.
to_dict
()Collect all information about etna object in dict.
update_tmp_match
(name)Create match with given feature.