📜  pandas 虚拟分类数据 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:43.832000             🧑  作者: Mango

代码示例1
from sklearn.datasets import make_classification
import pandas as pd
X, y = make_classification(n_samples=10, n_features=4, n_classes=2, random_state=123)