aboutsummaryrefslogtreecommitdiff
path: root/R/validate.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/validate.R')
-rw-r--r--R/validate.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/validate.R b/R/validate.R
index b0f3f39..5960a38 100644
--- a/R/validate.R
+++ b/R/validate.R
@@ -64,7 +64,7 @@ gensvm.param.conditions <- function()
lambda=function(x) {x > 0.0 },
epsilon=function(x) { x > 0.0 },
gamma=function(x) { x != 0.0 },
- weights=function(x) { x %in% c("unit", "group") },
+ weights=function(x) { x %in% c("raw", "unit", "group") },
kernel=function(x) { x %in% c("linear", "poly", "rbf", "sigmoid") }
)
}