Danger

You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software

Click here to go to the new docs pages.

sdv.metrics.tabular.ScikitLearnClassifierDetectionMetric

class sdv.metrics.tabular.ScikitLearnClassifierDetectionMetric[source]

Base class for Detection metrics build using Scikit Learn Classifiers.

The base class for these metrics makes a prediction using a scikit-learn pipeline which contains a SimpleImputer, a RobustScaler and finally the classifier, which is defined in the subclasses.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

compute(real_data, synthetic_data[, metadata])

Compute this metric.

compute_breakdown(real_data, synthetic_data)

Compute this metric breakdown.

get_subclasses([include_parents])

Recursively find subclasses of this metric.

normalize(raw_score)

Return the raw_score as is, since it is already normalized.

Attributes

goal

max_value

min_value

name