source: trunk/CrossPare/src/de/ugoe/cs/cpdp/training/ISetWiseTestdataAwareTrainingStrategy.java

Last change on this file was 135, checked in by sherbold, 8 years ago
  • code documentation and formatting
File size: 997 bytes
RevLine 
[135]1
[44]2package de.ugoe.cs.cpdp.training;
3
4import org.apache.commons.collections4.list.SetUniqueList;
5import weka.core.Instances;
6
[135]7/**
8 * <p>
9 * Training strategy for training with access to the target data and one data set per input product.
10 * </p>
11 *
12 * @author Steffen Herbold
13 */
[44]14public interface ISetWiseTestdataAwareTrainingStrategy extends ITrainer {
15
[135]16    /**
17     * <p>
18     * Applies the training strategy.
19     * </p>
20     *
21     * @param traindataSet
22     *            the training data per product
23     * @param testdata
24     *            the test data from the target product
25     */
[44]26    void apply(SetUniqueList<Instances> traindataSet, Instances testdata);
27
[135]28    /**
29     * <p>
30     * returns the name of the training strategy
31     * </p>
32     *
33     * @return the name
34     */
[44]35    String getName();
[135]36
37    // TODO: these two methods look like they should be removed and instead be handled using the parameters
[45]38    void setMethod(String method);
[135]39
[45]40    void setThreshold(String threshold);
[44]41}
Note: See TracBrowser for help on using the repository browser.