TrainTestPredictionDrift#

class TrainTestPredictionDrift[source]#

The TrainTestPredictionDrift check is deprecated and will be removed in the 0.14 version.

Please use the PredictionDrift check instead.

__init__(*args, **kwargs)[source]#
__new__(*args, **kwargs)#

Methods

TrainTestPredictionDrift.add_condition(name, ...)

Add new condition function to the check.

TrainTestPredictionDrift.add_condition_drift_score_less_than([...])

Add condition - require prediction properties drift score to be less than the threshold.

TrainTestPredictionDrift.clean_conditions()

Remove all conditions from this check instance.

TrainTestPredictionDrift.compute(context)

Calculate drift on prediction properties samples that were collected during update() calls.

TrainTestPredictionDrift.conditions_decision(result)

Run conditions on given result.

TrainTestPredictionDrift.config([...])

Return check configuration.

TrainTestPredictionDrift.from_config(conf[, ...])

Return check object from a CheckConfig object.

TrainTestPredictionDrift.from_json(conf[, ...])

Deserialize check instance from JSON string.

TrainTestPredictionDrift.greater_is_better()

Return True if the check reduce_output is better when it is greater.

TrainTestPredictionDrift.initialize_run(context)

Initialize run.

TrainTestPredictionDrift.metadata([...])

Return check metadata.

TrainTestPredictionDrift.name()

Name of class in split camel case.

TrainTestPredictionDrift.params([show_defaults])

Return parameters to show when printing the check.

TrainTestPredictionDrift.property_reduce(...)

Return an aggregated drift score based on aggregation method defined.

TrainTestPredictionDrift.reduce_output(...)

Return prediction drift score per prediction property.

TrainTestPredictionDrift.remove_condition(index)

Remove given condition by index.

TrainTestPredictionDrift.run(train_dataset, ...)

Run check.

TrainTestPredictionDrift.to_json([indent, ...])

Serialize check instance to JSON string.

TrainTestPredictionDrift.update(context, ...)

Perform update on batch for train or test properties.