Dear list,
I am trying to run svm.fs() in package penalizedSVM,

x <- matrix(rnorm(100), 20, 5)

y <- sample(c(0,10), 20, replace=TRUE)

model <- svm.fs(x,y)

And I get the following warnings and errors.

rror in array(0, c(n, p)) : 'dim' specifies too large an array

In addition: There were 16 warnings (use warnings() to see them)

There were 50 or more warnings (use warnings() to see the first 50)

> warnings()

Warning messages:

1: In if (fs.method == "1norm" & inner.val.method == "gacv") stop("gacv is
not availible for 1norm SVM. Use k fold cv instead.") :

  the condition has length > 1 and only the first element will be used

2: In if (grid.search == "interval") { ... :

  the condition has length > 1 and only the first element will be used

3: In if ((fs.method %in% c("scad", "1norm")) & is.null(bounds)) { ... :

  the condition has length > 1 and only the first element will be used

4: In if (fs.method %in% c("DrHSVM") & is.null(bounds)) { ... :


I am guessing this is because of the limit memory?

Mike

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to