Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: package imports in example scripts #38

Merged
merged 3 commits into from
Feb 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/regular/adult_wgangp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ydata_synthetic.preprocessing.adult import transformations
from ydata_synthetic.synthesizers import WGAN_GP
from ydata_synthetic.preprocessing.regular.adult import transformations
from ydata_synthetic.synthesizers.regular import WGAN_GP

#Load and process the data
data, processed_data, preprocessor = transformations()
Expand Down
4 changes: 2 additions & 2 deletions examples/regular/cgan_example.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ydata_synthetic.synthesizers import CGAN
from ydata_synthetic.preprocessing.credit_fraud import transformations
from ydata_synthetic.synthesizers.regular import CGAN
from ydata_synthetic.preprocessing.regular.credit_fraud import transformations

import pandas as pd
import numpy as np
Expand Down
4 changes: 2 additions & 2 deletions examples/regular/gan_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"import sklearn.cluster as cluster\n",
"import matplotlib.pyplot as plt\n",
"\n",
"from ydata_synthetic.synthesizers import VanilllaGAN\n",
"from ydata_synthetic.preprocessing.credit_fraud import *\n",
"from ydata_synthetic.synthesizers.regular import VanilllaGAN\n",
"from ydata_synthetic.preprocessing.regular.credit_fraud import *\n",
"\n",
"model = VanilllaGAN"
]
Expand Down
4 changes: 2 additions & 2 deletions examples/regular/wgan_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import sklearn.cluster as cluster
import matplotlib.pyplot as plt

from ydata_synthetic.synthesizers import WGAN_GP
from ydata_synthetic.preprocessing.credit_fraud import *
from ydata_synthetic.synthesizers.regular import WGAN_GP
from ydata_synthetic.preprocessing.regular.credit_fraud import *

model = WGAN_GP

Expand Down