source: trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/IEvaluationStrategy.java @ 17

Last change on this file since 17 was 2, checked in by sherbold, 10 years ago
  • initial commit
  • Property svn:mime-type set to text/plain
File size: 795 bytes
Line 
1package de.ugoe.cs.cpdp.eval;
2
3import java.util.List;
4
5import de.ugoe.cs.cpdp.IParameterizable;
6import de.ugoe.cs.cpdp.training.ITrainer;
7
8import weka.core.Instances;
9
10/**
11 * Interface for evaluation strategies to evaluate the performance of classifiers.
12 * @author Steffen Herbold
13 */
14public interface IEvaluationStrategy extends IParameterizable {
15
16        /**
17         * Applies the evaluation strategy.
18         * @param testdata test data for the evaluation
19         * @param traindata training data used
20         * @param trainers list of training algorithms used to train the classifiers
21         * @param writeHeader if true, a header line for the results file is written (may not be applicable)
22         */
23        void apply(Instances testdata, Instances traindata, List<ITrainer> trainers, boolean writeHeader);
24}
Note: See TracBrowser for help on using the repository browser.