search for: classfactortrain

Displaying 1 result from an estimated 1 matches for "classfactortrain".

2009 Jun 25
0
[e1071] Inconsistent results when using matrix.csr for svm() - possibly scaling problem
...a to lead to the same results though. It could be that it is a scaling problem, because unscaled results are equal(see below). I'm using the SparseM_0.80 and e1071_1.5-19. This is what I do (details can be found below): > #run model on csr matrixes > model <- svm(matrixcsrTraining,classfactorTraining) > predict(model, matrixcsrTest) 1 0.944625 > #run model on matrix representation (Matrix) of the csr matrix from above > model <- svm(as.matrix(matrixcsrTraining),classfactorTraining) > predict(model, as.matrix(matrixcsrTest)) 1 0.8325838 Possibly this is a sca...