Fit a linear SVM model and obtain feature weights

getWeights(test.fold, X)

Arguments

test.fold

Index of the input data used for testing

X

Train data.

Value

A matrix with the weights of the SVM

See also