Package | Description |
---|---|
weka.experiment |
Modifier and Type | Class and Description |
---|---|
class |
AveragingResultProducer
Takes the results from a ResultProducer and submits the average to the result listener.
|
class |
CrossValidationResultProducer
Generates for each run, carries out an n-fold cross-validation, using the set SplitEvaluator to generate some results.
|
class |
DatabaseResultProducer
Examines a database and extracts out the results produced by the specified ResultProducer and submits them to the specified ResultListener.
|
class |
LearningRateResultProducer
Tells a sub-ResultProducer to reproduce the current run for varying sized subsamples of the dataset.
|
class |
RandomSplitResultProducer
Generates a single train/test split and calls the appropriate SplitEvaluator to generate some results.
|
Modifier and Type | Field and Description |
---|---|
protected ResultProducer |
Experiment.m_ResultProducer
The result producer
|
protected ResultProducer |
DatabaseResultProducer.m_ResultProducer
The ResultProducer used to generate results
|
protected ResultProducer |
AveragingResultProducer.m_ResultProducer
The ResultProducer used to generate results
|
protected ResultProducer |
LearningRateResultProducer.m_ResultProducer
The ResultProducer used to generate results
|
protected ResultProducer |
DatabaseResultListener.m_ResultProducer
The ResultProducer to listen to
|
protected ResultProducer |
CSVResultListener.m_RP
The ResultProducer sending us results
|
Modifier and Type | Method and Description |
---|---|
ResultProducer |
Experiment.getResultProducer()
Get the result producer used for the current experiment.
|
ResultProducer |
DatabaseResultProducer.getResultProducer()
Get the ResultProducer.
|
ResultProducer |
AveragingResultProducer.getResultProducer()
Get the ResultProducer.
|
ResultProducer |
LearningRateResultProducer.getResultProducer()
Get the ResultProducer.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseResultProducer.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Accepts results from a ResultProducer.
|
void |
AveragingResultProducer.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Accepts results from a ResultProducer.
|
void |
LearningRateResultProducer.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Accepts results from a ResultProducer.
|
void |
ResultListener.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Accepts results from a ResultProducer.
|
void |
CSVResultListener.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Just prints out each result as it is received.
|
void |
InstancesResultListener.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Collects each instance and adjusts the header information.
|
void |
DatabaseResultListener.acceptResult(ResultProducer rp,
Object[] key,
Object[] result)
Submit the result to the appropriate table of the database
|
String |
DatabaseUtils.createExperimentIndexEntry(ResultProducer rp)
Attempts to insert a results entry for the table into the
experiment index.
|
String |
DatabaseUtils.createResultsTable(ResultProducer rp,
String tableName)
Creates a results table for the supplied result producer.
|
String[] |
AveragingResultProducer.determineColumnConstraints(ResultProducer rp)
Determines if there are any constraints (imposed by the
destination) on the result columns to be produced by
resultProducers.
|
String[] |
LearningRateResultProducer.determineColumnConstraints(ResultProducer rp)
Determines if there are any constraints (imposed by the
destination) on the result columns to be produced by
resultProducers.
|
String[] |
ResultListener.determineColumnConstraints(ResultProducer rp)
Determines if there are any constraints (imposed by the
destination) on additional result columns to be produced by
resultProducers.
|
String[] |
CSVResultListener.determineColumnConstraints(ResultProducer rp)
Determines if there are any constraints (imposed by the
destination) on the result columns to be produced by
resultProducers.
|
String[] |
DatabaseResultListener.determineColumnConstraints(ResultProducer rp)
Determines if there are any constraints (imposed by the
destination) on any additional measures produced by
resultProducers.
|
Object[] |
DatabaseUtils.getResultFromTable(String tableName,
ResultProducer rp,
Object[] key)
Executes a database query to extract a result for the supplied key
from the database.
|
String |
DatabaseUtils.getResultsTableName(ResultProducer rp)
Gets the name of the experiment table that stores results from a
particular ResultProducer.
|
protected boolean |
DatabaseResultListener.isKeyInCache(ResultProducer rp,
Object[] key)
Returns true if the supplied key is in the key cache (and thus
we do not need to execute a database query).
|
protected boolean |
DatabaseUtils.isKeyInTable(String tableName,
ResultProducer rp,
Object[] key)
Executes a database query to see whether a result for the supplied key
is already in the database.
|
boolean |
DatabaseResultProducer.isResultRequired(ResultProducer rp,
Object[] key)
Determines whether the results for a specified key must be
generated.
|
boolean |
AveragingResultProducer.isResultRequired(ResultProducer rp,
Object[] key)
Determines whether the results for a specified key must be
generated.
|
boolean |
LearningRateResultProducer.isResultRequired(ResultProducer rp,
Object[] key)
Determines whether the results for a specified key must be
generated.
|
boolean |
ResultListener.isResultRequired(ResultProducer rp,
Object[] key)
Determines whether the results for a specified key must be
generated.
|
boolean |
CSVResultListener.isResultRequired(ResultProducer rp,
Object[] key)
Always says a result is required.
|
boolean |
DatabaseResultListener.isResultRequired(ResultProducer rp,
Object[] key)
Always says a result is required.
|
protected void |
DatabaseResultListener.loadCache(ResultProducer rp,
Object[] key)
Executes a database query to fill the key cache
|
void |
DatabaseResultProducer.postProcess(ResultProducer rp)
When this method is called, it indicates that no more results
will be sent that need to be grouped together in any way.
|
void |
AveragingResultProducer.postProcess(ResultProducer rp)
When this method is called, it indicates that no more results
will be sent that need to be grouped together in any way.
|
void |
LearningRateResultProducer.postProcess(ResultProducer rp)
When this method is called, it indicates that no more results
will be sent that need to be grouped together in any way.
|
void |
ResultListener.postProcess(ResultProducer rp)
Perform any postprocessing.
|
void |
CSVResultListener.postProcess(ResultProducer rp)
Perform any postprocessing.
|
void |
InstancesResultListener.postProcess(ResultProducer rp)
Perform any postprocessing.
|
void |
DatabaseResultListener.postProcess(ResultProducer rp)
Perform any postprocessing.
|
void |
DatabaseResultProducer.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
AveragingResultProducer.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
LearningRateResultProducer.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
ResultListener.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
CSVResultListener.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
InstancesResultListener.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
DatabaseResultListener.preProcess(ResultProducer rp)
Prepare for the results to be received.
|
void |
DatabaseUtils.putResultInTable(String tableName,
ResultProducer rp,
Object[] key,
Object[] result)
Executes a database query to insert a result for the supplied key
into the database.
|
void |
Experiment.setResultProducer(ResultProducer newResultProducer)
Set the result producer used for the current experiment.
|
void |
DatabaseResultProducer.setResultProducer(ResultProducer newResultProducer)
Set the ResultProducer.
|
void |
AveragingResultProducer.setResultProducer(ResultProducer newResultProducer)
Set the ResultProducer.
|
void |
LearningRateResultProducer.setResultProducer(ResultProducer newResultProducer)
Set the ResultProducer.
|
void |
RemoteExperiment.setResultProducer(ResultProducer newResultProducer)
Set the result producer used for the current experiment.
|
protected void |
DatabaseResultListener.updateResultsTableName(ResultProducer rp)
Determines the table name that results will be inserted into.
|
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.