Changeset 135 for trunk/CrossPare/src/de/ugoe/cs/cpdp/training/ISetWiseTestdataAwareTrainingStrategy.java
- Timestamp:
- 07/18/16 12:26:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/ISetWiseTestdataAwareTrainingStrategy.java
r45 r135 1 1 2 package de.ugoe.cs.cpdp.training; 2 3 … … 4 5 import weka.core.Instances; 5 6 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 */ 6 14 public interface ISetWiseTestdataAwareTrainingStrategy extends ITrainer { 7 15 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 */ 8 26 void apply(SetUniqueList<Instances> traindataSet, Instances testdata); 9 27 28 /** 29 * <p> 30 * returns the name of the training strategy 31 * </p> 32 * 33 * @return the name 34 */ 10 35 String getName(); 11 36 37 // TODO: these two methods look like they should be removed and instead be handled using the parameters 12 38 void setMethod(String method); 39 13 40 void setThreshold(String threshold); 14 41 }
Note: See TracChangeset
for help on using the changeset viewer.