There's at least one that is part of base.py in sklearn.datasets.
from sklearn.datasets import load_breast_cancer
load_breast_cancer?
Signature: load_breast_cancer(return_X_y=False)
Docstring:
Load and return the breast cancer wisconsin dataset (classification).
The breast cancer dataset is a c
As far as I know, no. But you could simply truncate the iris dataset for binary
classification, e.g.,
from sklearn import datasets
iris = datasets.load_iris()
X = iris.data[:100]
y = iris.target[:100]
Best,
Sebastian
> On Dec 3, 2017, at 3:54 PM, Peng Yu wrote:
>
> Hi, iris is a three-class
Hi, iris is a three-class dataset. Is there a dataset in sklearn that
is suitable for binary classification? Thanks.
--
Regards,
Peng
___
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn