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 drift score to be less than a certain threshold.

TrainTestPredictionDrift.clean_conditions()

Remove all conditions from this check instance.

TrainTestPredictionDrift.conditions_decision(result)

Run conditions on given result.

TrainTestPredictionDrift.config([...])

Return check configuration (conditions' configuration not yet supported).

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.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.prediction_drift(...)

Calculate prediction drift.

TrainTestPredictionDrift.reduce_output(...)

Return prediction drift score.

TrainTestPredictionDrift.remove_condition(index)

Remove given condition by index.

TrainTestPredictionDrift.run(train_dataset, ...)

Run check.

TrainTestPredictionDrift.run_logic(context)

Calculate drift for all columns.

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

Serialize check instance to JSON string.