#使用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)

 

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2022-03-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2021-04-23
  • 2021-04-30
  • 2022-12-23
  • 2021-11-13
相关资源
相似解决方案