SimpleFeatureContribution.add_condition_feature_pps_in_train_not_greater_than#
- SimpleFeatureContribution.add_condition_feature_pps_in_train_not_greater_than(threshold: float = 0.2) SFC [source]#
Add new condition.
Add condition that will check that train dataset property pps is not greater than X. If per_class is True, the condition will apply per class, and a single class with pps greater than X will be enough to fail the condition.
- Parameters
- thresholdfloat , default: 0.2
pps upper bound
- Returns
- SFC