GaleShapleyMatcher

class GaleShapleyMatcher(segments: List[etna.transforms.feature_selection.gale_shapley.SegmentGaleShapley], features: List[etna.transforms.feature_selection.gale_shapley.FeatureGaleShapley])[source]

Bases: etna.core.mixins.BaseMixin

Class for handling Gale-Shapley matching algo.

Init GaleShapleyMatcher.

Parameters
Inherited-members

Methods

break_match(segment, feature)

Break match between segment and feature.

match(segment, feature)

Build match between segment and feature.

set_params(**params)

Return new object instance with modified parameters.

to_dict()

Collect all information about etna object in dict.

static break_match(segment: etna.transforms.feature_selection.gale_shapley.SegmentGaleShapley, feature: etna.transforms.feature_selection.gale_shapley.FeatureGaleShapley)[source]

Break match between segment and feature.

Parameters
static match(segment: etna.transforms.feature_selection.gale_shapley.SegmentGaleShapley, feature: etna.transforms.feature_selection.gale_shapley.FeatureGaleShapley)[source]

Build match between segment and feature.

Parameters