sdv.metrics.timeseries.TSFCDetection.compute

classmethod TSFCDetection.compute(real_data, synthetic_data, metadata=None, entity_columns=None)

Compute this metric.

Parameters
  • real_data (pandas.DataFrame) – The values from the real dataset, passed as a pandas.DataFrame.

  • synthetic_data (pandas.DataFrame) – The values from the synthetic dataset, passed as a pandas.DataFrame.

  • metadata (dict) – TimeSeries metadata dict. If not passed, it is build based on the real_data fields and dtypes.

  • entity_columns (list[str]) – Names of the columns which identify different time series sequences.

Returns

Metric output.

Return type

Union[float, tuple[float]]