ClassPerformance.add_condition_train_test_relative_degradation_not_greater_than#

ClassPerformance.add_condition_train_test_relative_degradation_not_greater_than(threshold: float = 0.1) PR[source]#

Add condition that will check that test performance is not degraded by more than given percentage in train.

Parameters
thresholdfloat

maximum degradation ratio allowed (value between 0 and 1)