search for: adaptedvalidationdataset

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

2006 Mar 25
2
R gets slow
...writeLines("DONE", conn) print("Closing connection") } close(conn) } } FSsocket(); Model generator example: library("class"); library("e1071"); dd = read.table("sampling/adapteddataSet"); attach(dd); ddv = read.table("sampling/adaptedvalidationDataSet"); attach(ddv); dd[,1] = factor(dd[,1]); ddv[,1] = factor(ddv[,1]); attach(dd); tr_in = as.matrix(dd[,2:(1 + 1)]); tr_out = dd[,1]; val_in = as.matrix(ddv[,2:(1 + 1)]); val_out = ddv[,1]; t = tune(svm, kernel = "radial", train.x = tr_in, train.y = tr_out, validation.x = val_in, valid...