SegmentPerformance#
- class SegmentPerformance[source]#
Display performance score segmented by 2 top (or given) features in a heatmap.
Deprecated since version 0.8.1: The SegmentPerformance check is deprecated and will be removed in the 0.11 version. Please use the WeakSegmentsPerformance check instead.
- Parameters
- feature_1Optional[Hashable] , default: None
feature to segment by on y-axis.
- feature_2Optional[Hashable] , default: None
feature to segment by on x-axis.
- alternative_scorerTuple[str, Union[str, Callable]] , default: None
Score to show, either function or sklearn scorer name. If is not given a default scorer (per the model type) will be used.
- max_segmentsint , default: 10
maximal number of segments to split the values into.
- __init__(feature_1: Optional[Hashable] = None, feature_2: Optional[Hashable] = None, alternative_scorer: Optional[Tuple[str, Union[str, Callable]]] = None, max_segments: int = 10, **kwargs)[source]#
- __new__(*args, **kwargs)#
Attributes
Methods
|
Add new condition function to the check. |
Remove all conditions from this check instance. |
|
Run conditions on given result. |
|
Return check configuration (conditions' configuration not yet supported). |
|
Return check object from a CheckConfig object. |
|
|
Return check metadata. |
Name of class in split camel case. |
|
|
Return parameters to show when printing the check. |
Remove given condition by index. |
|
|
Run check. |
|
Run check. |