3
我一直在嘗試構建SVM分類器,但遇到了predict
問題。R-Kernlab SVM問題預測
> modelrbf<-ksvm(set,y,kernel="rbfdot",type="C-svc")
Using automatic sigma estimation (sigest) for RBF or laplace kernel
> predict(modelrbf,set[24,])
Error in .local(object, ...) : test vector does not match model !
我很無知是什麼原因導致錯誤:'測試向量與模型不匹配!'。
非常感謝。它幫助! – jitendra 2012-02-12 00:41:26