DeepEcho is a Python library within the SDV ecosystem for generating sequential synthetic data from real-world datasets using Generative Adversarial Networks (GANs). It's designed for data that has a temporal or sequential component, such as time series or event logs. Currently at version 0.8.1, the library maintains an active development pace with frequent updates and bug fixes, often aligning with the broader SDV ecosystem's release cycle.
pip install deepechoVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use DeepEcho to generate synthetic sequential data. It uses `sdv.datasets.demo.get_sequential_demo` to obtain sample sequential data and its corresponding metadata, which is essential for DeepEcho to correctly model the data's structure. The `DeepEcho` model is then initialized with the metadata, fitted to the real data, and finally used to sample new synthetic sequences.
Update your import statement from `from deepecho.synthesizers import DeepEchoSynthesizer` to `from deepecho.models import DeepEcho`.
Ensure you are using `sdv` to load your data and generate a `sdv.metadata.Metadata` object. Pass this metadata object explicitly to the `DeepEcho` model constructor: `model = DeepEcho(metadata=my_metadata)`.
Thoroughly review and, if necessary, manually adjust the `sdv` metadata to accurately reflect your sequential data's structure. Use `metadata.set_table_meta()` to specify keys if auto-detection is insufficient.