|
Last change
on this file since 139 was
135,
checked in by sherbold, 9 years ago
|
- code documentation and formatting
|
|
File size:
997 bytes
|
| Line | |
|---|
| 1 | |
|---|
| 2 | package de.ugoe.cs.cpdp.training; |
|---|
| 3 | |
|---|
| 4 | import org.apache.commons.collections4.list.SetUniqueList; |
|---|
| 5 | import weka.core.Instances; |
|---|
| 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 | */ |
|---|
| 14 | public interface ISetWiseTestdataAwareTrainingStrategy extends ITrainer { |
|---|
| 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 | */ |
|---|
| 26 | void apply(SetUniqueList<Instances> traindataSet, Instances testdata); |
|---|
| 27 | |
|---|
| 28 | /** |
|---|
| 29 | * <p> |
|---|
| 30 | * returns the name of the training strategy |
|---|
| 31 | * </p> |
|---|
| 32 | * |
|---|
| 33 | * @return the name |
|---|
| 34 | */ |
|---|
| 35 | String getName(); |
|---|
| 36 | |
|---|
| 37 | // TODO: these two methods look like they should be removed and instead be handled using the parameters |
|---|
| 38 | void setMethod(String method); |
|---|
| 39 | |
|---|
| 40 | void setThreshold(String threshold); |
|---|
| 41 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.