Skip to content

Commit

Permalink
fix: package imports in example scripts (#38)
Browse files Browse the repository at this point in the history
* fix example imports

* fix: package imports in example scripts
  • Loading branch information
crownpku committed Feb 11, 2021
1 parent 9bf18a0 commit ca810b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/regular/adult_wgangp.py
@@ -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
@@ -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
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
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

0 comments on commit ca810b2

Please sign in to comment.