Use weightNorm to normalize the SVM weights. Used for SVMDECONV
w1 <- weightNorm(w)
Usage
weightNorm(w)
Value
a weight vector
Arguments
w
The weight vector from fitting an SVM, something like something like t(fit1$coefs) %*% fit1$SV, where fit comes from <- svm(m~B, nu=0.25, kernel="linear"))