In e1071 library of R has an inbuilt tune() function to optimize our algorithm.
tuneop=tune(svm,y~.,data=dat,kernel="radial",ranges=list(cost=c(0.001, 0.01, 0.1, 1,5,10,100),gamma=c(0.001, 0.01, 0.1, 1,5,10)))
I use tune function to optimize my gamma and cost parameter in my SVM model. For small dataset tune() requires only a small amount of time to generate bestmodel . But for a very large data set it takes a lot of time. So is it possible to add a progress bar or percentage to monitor the progress of the tuning of our model.