在这段代码中,我对时间序列进行了拆分,然后使用scikit learn创建了一个用于预测的SVR模型。6393.55696288--------------------------------------------------------------------------- 202 if len(uniques) > 1:
203 raise Val
y_validation,8)
(755, 8) 然后我创建了模型,并找到了测试的准确性现在,在创建混淆矩阵时,我遇到了一些错误 print(confusion_matrix(y_test,folder)) 错误如下: ValueErrorcheck_targets(y_true, y_pred)
254 if y_type not in ("binary", "multiclass&
以下是我的代码 print(len(image_dataset.data))X_train, X_test, y_train, y_test =validation.py", line 257, in check_consistent_lengthValueError: Found input variables with inconsistent numbers of samp