Learn R Programming

ADAPTS (version 0.9.21)

weightNorm: Use weightNorm to normalize the SVM weights. Used for SVMDECONV

Description

w1 <- weightNorm(w)

Usage

weightNorm(w)

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"))

Value

a weight vector