treeple.datasets.make_quadratic_classification#
- treeple.datasets.make_quadratic_classification(n_samples, n_features, noise=False, seed=None)[source]#
Simulate classification data from a quadratic model.
This is a form of the simulation used in [1].
- Parameters:
- Returns:
- xarray_like, shape (2 * n_samples, n_features)
Data array.
- varray_like, shape (2 * n_samples,)
Target array of 1’s and 0’s.
References