Skip to content

Commit

Permalink
added plot to nb
Browse files Browse the repository at this point in the history
  • Loading branch information
BielStela committed Nov 22, 2018
1 parent 89b55ef commit 3c81a47
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 41 deletions.
8 changes: 4 additions & 4 deletions data_synthesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ def features_generator(n_features: int, types: str,
number of features or length of the vector
types: str
type of the features. It only accepts uniform types.
type of the features. All the features must will have the same type.
rang: tuple(int, int)
range of the random uniform population from
range of the random uniform population from
where to drawn samples
Returns
-------
x: np.ndarray
np.ndarray
features vector
"""
# D-fence params
Expand Down Expand Up @@ -100,7 +100,7 @@ def synthesize(target_model, fixed_class: int, k_max: int):
Returns
-------
x: np.ndarray
np.ndarray
synthetic feature vector
False
Expand Down
179 changes: 142 additions & 37 deletions notebooks/data_synthesis_playground.ipynb

Large diffs are not rendered by default.

0 comments on commit 3c81a47

Please sign in to comment.