View source on GitHub |
Generates num_examples labeled examples using separator given by weights.
tf_privacy.linearly_separable_labeled_examples(
num_examples: int, weights: np.ndarray
) -> RegressionDataset
Returns | |
---|---|
RegressionDataset consisting of points and labels. Each point has unit l2-norm. |