PerformanceBias.add_condition_bounded_performance_difference#

PerformanceBias.add_condition_bounded_performance_difference(lower_bound, upper_bound=inf)[source]#

Add condition - require performance difference to be between the given bounds.

Performance difference is defined as (score - baseline).

Parameters
lower_boundfloat

Lower bound on (score - baseline).

upper_boundfloat, default: Infinity

Upper bound on (score - baseline). Infinite by default (large scores do not trigger the condition).