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.BinaryMLPClassifier

class sdv.metrics.tabular.BinaryMLPClassifier[source]

Binary MLPClassifier Efficacy based metric.

This fits a MLPClassifier to the training data and then evaluates it making predictions on the test data.

__init__()

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

Methods

SCORER(y_pred, *[, labels, pos_label, …])

Compute the F1 score, also known as balanced F-score or F-measure.

__init__()

Initialize self.

compute(test_data, train_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

METRICS

MODEL_KWARGS

goal

max_value

min_value

name