Displaying 1 result from an estimated 1 matches for "200cases".
2011 Feb 21
0
list of features from svmpath?
How can I get the list of non-zero features from svmpath at any given
lambda? All I get is following information and information about what
features were selected. In Iris example, we have 4 features and 60 cases. In
my own example which is 200cases by 300 features, I can't figure out how to
print the list of non-zero (beta) or features from svmpath.
Any help? Thanks.
----------------
> solution <- svmpath(as.matrix(iris[1:60,1:4]), buffer, type="class",
trace=FALSE)
> names(solution)
[1] "alpha" &...