SimpleModelComparison.run_logic#

SimpleModelComparison.run_logic(context: Context) CheckResult[source]#

Run check.

Returns
CheckResult

value is a Dict of: given_model_score, simple_model_score, ratio <br> ratio is given model / simple model (if the scorer returns negative values we divide 1 by it) <br> if ratio is infinite max_ratio is returned

Raises
DeepchecksValueError

If the object is not a Dataset instance.