TrainTestFeatureDrift#

class TrainTestFeatureDrift[source]#

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

Deprecated since version 0.14.0: deepchecks.tabular.checks.TrainTestFeatureDrift is deprecated and will be removed in deepchecks 0.14 version. Use `deepchecks.tabular.checks.FeatureDrift instead.

Please use the FeatureDrift check instead

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

Attributes

Methods

TrainTestFeatureDrift.add_condition(name, ...)

Add new condition function to the check.

TrainTestFeatureDrift.add_condition_drift_score_less_than([...])

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

TrainTestFeatureDrift.clean_conditions()

Remove all conditions from this check instance.

TrainTestFeatureDrift.conditions_decision(result)

Run conditions on given result.

TrainTestFeatureDrift.config([...])

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

TrainTestFeatureDrift.feature_reduce(...)

Return an aggregated drift score based on aggregation method defined.

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

Return check object from a CheckConfig object.

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

Deserialize check instance from JSON string.

TrainTestFeatureDrift.greater_is_better()

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

TrainTestFeatureDrift.metadata([with_doc_link])

Return check metadata.

TrainTestFeatureDrift.name()

Name of class in split camel case.

TrainTestFeatureDrift.params([show_defaults])

Return parameters to show when printing the check.

TrainTestFeatureDrift.reduce_output(check_result)

Return an aggregated drift score based on aggregation method defined.

TrainTestFeatureDrift.remove_condition(index)

Remove given condition by index.

TrainTestFeatureDrift.run(train_dataset, ...)

Run check.

TrainTestFeatureDrift.run_logic(context)

Calculate drift for all columns.

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

Serialize check instance to JSON string.