You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: synth/README.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ pip install smartnoise-synth
22
22
### MWEM
23
23
24
24
```python
25
+
import snsynth
25
26
import pandas as pd
26
27
import numpy as np
27
28
@@ -38,8 +39,10 @@ print(sample)
38
39
### DP-CTGAN
39
40
40
41
```python
42
+
import snsynth
41
43
import pandas as pd
42
44
import numpy as np
45
+
43
46
from snsynth.pytorch.nn importDPCTGAN
44
47
from snsynth.pytorch import PytorchDPSynthesizer
45
48
@@ -56,8 +59,10 @@ print(sample)
56
59
### PATE-CTGAN
57
60
58
61
```python
62
+
import snsynth
59
63
import pandas as pd
60
64
import numpy as np
65
+
61
66
from snsynth.pytorch.nn importPATECTGAN
62
67
from snsynth.pytorch import PytorchDPSynthesizer
63
68
@@ -87,4 +92,4 @@ Please let us know if you encounter a bug by [creating an issue](https://github.
87
92
88
93
We appreciate all contributions. Please review the [contributors guide](../contributing.rst). We welcome pull requests with bug-fixes without prior discussion.
89
94
90
-
If you plan to contribute new features, utility functions or extensions to this system, please first open an issue and discuss the feature with us.
95
+
If you plan to contribute new features, utility functions or extensions to this system, please first open an issue and discuss the feature with us.
0 commit comments