TrainTestLabelDrift#

class TrainTestLabelDrift[source]#

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

Please use the LabelDrift check instead.

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

Attributes

TrainTestLabelDrift.margin_quantile_filter

TrainTestLabelDrift.numerical_drift_method

Methods

TrainTestLabelDrift.add_condition(name, ...)

Add new condition function to the check.

TrainTestLabelDrift.add_condition_drift_score_less_than([...])

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

TrainTestLabelDrift.clean_conditions()

Remove all conditions from this check instance.

TrainTestLabelDrift.conditions_decision(result)

Run conditions on given result.

TrainTestLabelDrift.config([...])

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

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

Return check object from a CheckConfig object.

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

Deserialize check instance from JSON string.

TrainTestLabelDrift.greater_is_better()

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

TrainTestLabelDrift.metadata([with_doc_link])

Return check metadata.

TrainTestLabelDrift.name()

Name of class in split camel case.

TrainTestLabelDrift.params([show_defaults])

Return parameters to show when printing the check.

TrainTestLabelDrift.reduce_output(check_result)

Return label drift score.

TrainTestLabelDrift.remove_condition(index)

Remove given condition by index.

TrainTestLabelDrift.run(train_dataset, ...)

Run check.

TrainTestLabelDrift.run_logic(context)

Calculate drift for all columns.

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

Serialize check instance to JSON string.