Base class for all datasets.
All datasets inherit from this class, be they stored in a file or generated on the fly.
Type of task the dataset is meant for. Should be one of: - "Regression" - "Binary classification" - "Multi-class classification" - "Multi-output binary classification" - "Multi-output regression"
Number of features in the dataset.
n_samples – defaults to
Number of samples in the dataset.
n_classes – defaults to
Number of classes in the dataset, only applies to classification datasets.
n_outputs – defaults to
Number of outputs the target is made of, only applies to multi-output datasets.
sparse – defaults to
Whether the dataset is sparse or not.
Return the description from the docstring.
Iterate over the k samples.
- k (int)