Dear All: I found a problem with the SVM internal cross-validation (CV) accuracy estimation in the e1071 package. File: Rsvm.c Line: 120 Today, it is: int j = rand()%(prob->l-i); Should be: int j = i + rand()%(prob->l-i); The erroneous code doesn't shuffle objects. Instead, it "randomly" moves objects from beginning to the end. In hope for a prompt response from the e1071 developer team, Thank you, Regards, -- Pawel Matykiewicz http://www.neuron.m4u.pl http://www.linkedin.com/in/pawelmatykiewicz
Dear Pawel: yes, this is a bug. Fixed in the next release. Thanks David ----------------------------------------- Dear All: I found a problem with the SVM internal cross-validation (CV) accuracy estimation in the e1071 package. File: Rsvm.c Line: 120 Today, it is: int j = rand()%(prob->l-i); Should be: int j = i + rand()%(prob->l-i); The erroneous code doesn't shuffle objects. Instead, it "randomly" moves objects from beginning to the end.