以下是一個可重複的例子,什麼基本上我試圖做的,正在創作5點估算的數據集然後應用SVM使用中插入符號火車功能各估算數據集,然後合奏使用caretEnsemble產生訓練模型。最後,我使用整體模型預測每個測試集。 不過,我得到這個錯誤 Error in check_bestpreds_obs(modelLibrary) : Observed values for each component mode
當傳遞fitx,y,我收到以下錯誤: 回溯(最近通話最後一個): File "C:/Classify/classifier.py", line 95, in train_avg, test_avg, cms = train_model(X, y, "ceps", plot=True) File "C:/Classify/classifier.py", line 47, in train_model
我有這個代碼,我試圖運行。它一切正常,直到我想創建我的劇情。 # Install package to use Support Vector Machine Algorithm
install.packages("e1071")
# If this function does not work click on the packages tab and check e1071
library
我正在使用本教程探索支持向量機迴歸http://www.svm-tutorial.com/2014/10/support-vector-regression-r/。使用網格搜索調整模型時遇到Error in do.call(method, c(list(train.x, data = data, subset = train.ind[[sample]]), : 'what' must be a f