Skip to content

Commit

Permalink
fix: add import BaseModel to timeseries models
Browse files Browse the repository at this point in the history
  • Loading branch information
fabclmnt committed Sep 10, 2024
1 parent 4885446 commit 2f67331
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ydata_synthetic/synthesizers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def __init__(self,
cat_cols: Optional[List[str]] = None,
**kwargs):
warn(
f"{self.__class__.__name__} is deprecated. Please leverage ydata-sdk RegularSynthesizer or TimeSeriesSynthesizer instead. For more information, "
f"check ydata-sdk documentation: https://docs.fabric.ydata.ai/latest/sdk/examples/synthesize_tabular_data/.",
f"{self.__class__.__name__} is deprecated. Please leverage ydata-sdk **RegularSynthesizer** or **TimeSeriesSynthesizer** instead. For more information, "
f"check ydata-sdk documentation: https://docs.fabric.ydata.ai/latest/sdk/examples/.",
DeprecationWarning,
stacklevel=2
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Doppelganger implementation file
"""
from ydata_synthetic.synthesizers.base import BaseModel

class DoppelGANgerNetwork(BaseModel):
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
TimeGAN file definition
"""
from ydata_synthetic.synthesizers.base import BaseModel

class TimeGAN(BaseModel):
"""
Expand Down

0 comments on commit 2f67331

Please sign in to comment.