BoostingOverfit.add_condition_test_score_percent_decline_less_than#

BoostingOverfit.add_condition_test_score_percent_decline_less_than(threshold: float = 0.05)[source]#

Add condition.

Percent of decline between the maximal score achieved in any boosting iteration and the score achieved in the last iteration (“regular” model score) is not above given threshold.

Parameters
thresholdfloat , default: 0.05

Maximum percentage decline allowed (value 0 and above)