search for: bestpara

Displaying 1 result from an estimated 1 matches for "bestpara".

Did you mean: bestdata
2005 Oct 06
1
how to use tune.knn() for dataset with missing values
...have the problem in using tune.knn(), its giving an error saying missing values are not allowed.... again here is the script for BreastCancer Data, library(e1071) library(mda) trdata<-data.frame(train,row.names=NULL) attach(trdata) xtr <- subset(trdata, select = -Class) ytr <- Class bestpara <-tune.knn(xtr,ytr, k = 1:25, tunecontrol = tune.control(sampling = "cross")) and here i got the mentioned error. can anybody help me in this regard... Thanks & Regards, Uttam Phulwale Tata Consultancy Services Limited Mailto: uttam.phulwale@tcs.com Website: http://www.tcs.com...