sklearn函数白板
#使用make_classification构造500个样本,每个样本有20个feature
from sklearn.datasets import make_classification X, y = make_classification(500, n_features=20, n_informative=2, n_redundant=2, n_classes=2, random_state=0)
#使用make_classification构造500个样本,每个样本有20个feature
from sklearn.datasets import make_classification X, y = make_classification(500, n_features=20, n_informative=2, n_redundant=2, n_classes=2, random_state=0)