classmethod LSTMDetection.compute(real_data, synthetic_data, metadata=None, entity_columns=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.


Metric output.

Return type

Union[float, tuple[float]]