Hi

I receive the following error, where is the problem?

Error in train(Effort ~ ., data = d, method = "lpSVM", trControl =
fitControl,  :
  unused arguments (data = d, method = "lpSVM", trControl = fitControl,
verbose = FALSE, metric = "ROC")

The code is here


fitControl <- trainControl(method = "repeatedcv",
                           number = 10,
                           repeats = 10,
                              classProbs = TRUE,
                        summaryFunction = twoClassSummary)

myGrid <-  expand.grid(interaction.depth = c(1, 5, 9),
                        n.trees = (1:30)*50,
                        shrinkage = 0.1,
                        n.minobsinnode = 20)
Fit3 <- train(Effort ~ ., data = d,
                 method = "lpSVM",
                 trControl = fitControl,
                 verbose = FALSE, metric = "ROC")

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to