最近我开始学习sklearn,numpy和pandas,我做了一个多元线性回归函数。我想知道,有没有可能进行多元多项式回归?这是我的多元多项式回归代码,它显示了这个错误: in check_consistent_length " samples: %r" % [int(l) for l in lengths])import pandas as pd
我是机器学习的新手,目前被困在这里。首先,我使用线性回归来拟合训练集,但得到了非常大的RMSE。然后我尝试使用多项式回归来减少偏差。import numpy as npfrom sklearn.preprocessing importPolynomialFeatures
from sklearn.metrics import mean_squared_