Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fealho committed Jan 23, 2024
1 parent b81fc6e commit ab8f912
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ctgan/data_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ def sample_data(self, data, n, col, opt):
"""Sample data from original training data satisfying the sampled conditional vector.
Returns:
n rows of matrix data.
data:
The training data.
n:
n rows of matrix data.
"""
if col is None:
idx = np.random.randint(len(data), size=n)
Expand Down

0 comments on commit ab8f912

Please sign in to comment.