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.relational.BNLogLikelihood

class sdv.metrics.relational.BNLogLikelihood(single_table_metric)[source]

MultiSingleTableMetric based on SingleTable BNLogLikelihood.

__init__(single_table_metric)

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

Methods

__init__(single_table_metric)

Initialize self.

compute(real_data, synthetic_data[, metadata])

Compute this metric.

compute_breakdown(real_data, synthetic_data)

Compute this metric broken down by tables and columns.

get_subclasses([include_parents])

Recursively find subclasses of this metric.

normalize(raw_score)

Normalize the log-likelihood value.

Attributes

goal

max_value

min_value

name