rdr.core
Class SimulatedExpertController
java.lang.Object
rdr.core.SimulatedExpertController
public class SimulatedExpertController
- extends java.lang.Object
SimulatedExpertController
A static class which is used to issue commands to one or more simulated experts.
This class is responsible for making the experiments you set up in ExperimentBuilder
happen.
- Author:
- Ivan Bindoff
Constructor Summary |
SimulatedExpertController(java.lang.String experimentName,
int numFolds,
common.datastructures.MyFastVector<java.io.File> datasets,
common.datastructures.MyFastVector<java.lang.Integer> numLabels,
common.datastructures.MyFastVector<java.lang.Integer> numCases,
double trainPercent,
common.datastructures.MyFastVector<java.lang.Double> specificities,
boolean buildFlag)
Constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulatedExpertController
public SimulatedExpertController(java.lang.String experimentName,
int numFolds,
common.datastructures.MyFastVector<java.io.File> datasets,
common.datastructures.MyFastVector<java.lang.Integer> numLabels,
common.datastructures.MyFastVector<java.lang.Integer> numCases,
double trainPercent,
common.datastructures.MyFastVector<java.lang.Double> specificities,
boolean buildFlag)
- Constructor.
Sets up the SE controller.
- Parameters:
numFolds
- the number of folds to rundatasets
- the set of arff file datasets to perform the experiment onnumLabels
- the set which identifies how many labels each corresponding arff hasnumCases
- the set which identifies how many cases each corresponding arff hastrainPercent
- the percentage of the cases to use for training, remainder for testingspecificities
- the set of SE specificities to usebuildFlag
- set to true if this simulated expert is only for the purpose of pre-building a kb, not for an experiment
startExperiment
public void startExperiment(boolean buildFlag)