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.


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

Compute this metric.

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

  • target (str) – Name of the column to use as the target.


Metric output.

Return type

Union[float, tuple[float]]