PDA

View Full Version : Using a classifier



Meidan
03-11-2007, 01:07 PM
Hi,

I've built a simple classifier in the KnoledgeFlow using a training data set that I splitted into trainingSet and terstSet with the TrainTestSplitMaker.

My question is how can I use it on another test set that I have?

Thanks.

Edit:
I've found this solution (https://list.scms.waikato.ac.nz/pipermail/wekalist/2005-May/003963.html), isn't there a more elegant one that doesn't require changing the flow manually?

Mark
03-13-2007, 05:55 PM
Hi,

At present there isn't a more elegant method to accomplish this. Classifiers are restricted to having a single testSet connection at any one time (otherwise you could have a separate ArffLoader providing your second test set). The reason for this is to ensure coherent evaluation results from ClassifierPerformanceEvaluator when multiple test/train test sets are being generated by CrossvalidationFoldMaker. Since the KnowledgeFlow is multithreaded, and allowing more than one test set connection to a Classifier, it would be possible for a separate test set to be presented to the Classifier when it was half way through a 10 fold cross validation run.

Cheers,
Mark.