source: trunk/CrossPare/src/de/ugoe/cs/cpdp/training/ITestAwareTrainingStrategy.java @ 140

Last change on this file since 140 was 135, checked in by sherbold, 8 years ago
  • code documentation and formatting
  • Property svn:mime-type set to text/plain
File size: 770 bytes
Line 
1package de.ugoe.cs.cpdp.training;
2
3import weka.core.Instances;
4
5/**
6 * <p>
7 * Training strategy for training with access to the target data and the training data as a single data set.
8 * </p>
9 *
10 * @author Steffen Herbold
11 */
12public interface ITestAwareTrainingStrategy extends ITrainer {
13   
14    /**
15     * <p>
16     * Applies the training strategy.
17     * </p>
18     *
19     * @param traindata
20     *            the training data for all products
21     * @param testdata
22     *            the test data from the target product
23     */
24    void apply(Instances testdata, Instances traindata);
25
26    /**
27     * <p>
28     * returns the name of the training strategy
29     * </p>
30     *
31     * @return the name
32     */
33    String getName();
34}
Note: See TracBrowser for help on using the repository browser.