search for: svmpredict

Displaying 4 results from an estimated 4 matches for "svmpredict".

2011 Feb 02
2
SVM Prediction and Plot
...olumn of BankTest. > SvmPred = predict(Svm, BankTest[,-1], probability=TRUE) > SvmPredRes = table(Pred = SvmPred, True = BankTest[,1]) I get this error: Error in table(Pred = SvmPred, True = BankTest) : all arguments must have the same length I checked the length of both BankTest[,1] and SvmPredict. > length(SvmPred) [1] 2282 > length(BankTest[,1]) [1] 2598 How are these two columns not the same size? Surely the prediction should try to predict all the values of BankTest[,1]? Any help would be much appreciated. -- View this message in context: http://r.789695.n4.nabble.com/SVM-Predic...
2017 Dec 07
1
Please to remove the warning when trying to check a package.
...9; 2) * checking files in 'vignettes' ... WARNING Files in the 'vignettes' directory but no files in 'inst/doc': 'vignettes.Rmd', 'vignettes.pdf' Notes: 1) * checking foreign function calls ... NOTE Foreign function call to a different package: .C("svmpredict", ..., PACKAGE = "e1071") See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. 2) * checking R code for possible problems ... NOTE predict.packageXXX: no visible global function definition for 'as' predict.packageXXX: no...
2011 Jan 21
1
help! complete the reviewer's suggest: carry out GA+GP (gaussian process)!
.../) now I want to know, how to get the predicted values : In libsvm for example: cmd = ['-v ',num2str(v),' -c',num2str(cgp(nind,1)), '-g ',num2str(cgp(nind,2)),' -p ',num2str(cgp(nind,3)),' -s 3']; model = svmtrain(train_y,train_data_best,cmd); train_pred = svmpredict(train_y,train_data_best,model); % get the predicted values for the training set I can get the train_pred, likewise I can get the test_pred (tes_pred = svmpredict(test_y,test_data_best,model);) If I have the obsved train_y,test_y and the predicted train_pred and test_pred, some statistical paramet...
2011 Jan 22
0
how to call BayesX in R to see the graph
...) now I want to know, how to get the predicted values : In libsvm for example: cmd = ['-v ',num2str(v),' -c',num2str(cgp(nind,1)), '-g ',num2str(cgp(nind,2)),' -p ',num2str(cgp(nind,3)),' -s 3']; model = svmtrain(train_y,train_data_best,cmd); train_pred = svmpredict(train_y,train_data_best,model); % get the predicted values for the training set I can get the train_pred, likewise I can get the test_pred (tes_pred = svmpredict(test_y,test_data_best,model);) If I have the obsved train_y,test_y and the predicted train_pred and test_pred, some statistical paramet...