خرید بک لینک

Vote count: 0

I have looked at the leaps package: http://www.inside-r.org/packages/cran/leaps/docs/regsubsets to use wrapper feature selection for data mining. How can I implement this and also tune parameters (by testing multiple different parameters using tune from e1071 package: http://www.inside-r.org/packages/cran/e1071/docs/tune? Could using different features (through tune) lead to different feature selection? I have not managed to find any examples which use both wrapper feature selection and parameter tuning, if anyone could point me to any I'd be very grateful.

Here is my code at the moment:

set.seed(100)
svm_model <- svm(class ~ ., data = data, cost = 1000,  method="C-classification")
svm_pred <- predict(svm_model, testdata[,-50])
confusionMatrix(table(svm_preds,testdata$class))

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 1 ارديبهشت 1395 ساعت: 4:44

صفحه بندی