October 2017
Beginner to intermediate
572 pages
26h 1m
English
Perform the following steps to retrieve the minimum estimation error using cross-validation:
> tuned = tune.svm(churn~., data = trainset, gamma = 10^-2, cost = 10^2, tunecontrol=tune.control(cross=10))
> summary(tuned)
Output
Error estimation of 'svm' using 10-fold cross validation: 0.08164651
> tuned$performances Output ...
Read now
Unlock full access