PDA

View Full Version : questions about cross-validation



Anakin
05-06-2009, 12:23 AM
HI, can some one tell me how weka divide the folder to cross-valaidation, and after finishing computing, how can weka integrate the data?
Thanks:)

MeriPNG
05-06-2009, 02:37 AM
Check out the manual on page 14 :
Here's the link : http://transact.dl.sourceforge.net/sourceforge/weka/WekaManual-3.6.0.pdf

Cheers
MeriPNG

Anakin
05-26-2009, 10:24 AM
Thanks
however, what I want to know is that is there ant document for the source code , since I want to figure out the special part. I want to know the process dealing with the 10-fold cv.
Cheers

Mark
05-26-2009, 04:38 PM
Hi,

The method javadocs in the source code provide some information about how things work. You should take a look at the stratify(), trainCV() and testCV() methods in weka.core.Instances for information on how the data is split up. weka.classifiers.Evaluation has methods that evaluate classifiers under cross-validation and collect the performance statistics.

Cheers,
Mark.