sklearn.datasets中的make_regression的参数该怎么设定


from sklearn.datasets import make_regression
from sklearn.model_selection import train_test_split

X, y, true_coefficient = make_regression(n_samples=200, n_features=30, n_informative=10, noise=100, coef=True, random_state=5)
X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=5, train_size=60)
print(X_train.shape)
print(y_train.shape)
有哪位大神能说下这个里面的参数有什么设定标准吗
已邀请:

要回复问题请先登录注册

返回顶部