Uses of Interface
weka.experiment.ResultProducer
Packages that use ResultProducer
-
Uses of ResultProducer in weka.experiment
Classes in weka.experiment that implement ResultProducerModifier and TypeClassDescriptionclassTakes the results from a ResultProducer and submits the average to the result listener.classGenerates for each run, carries out an n-fold cross-validation, using the set SplitEvaluator to generate some results.classCarries out one split of a repeated k-fold cross-validation, using the set SplitEvaluator to generate some results.classExamines a database and extracts out the results produced by the specified ResultProducer and submits them to the specified ResultListener.classLoads the external test set and calls the appropriate SplitEvaluator to generate some results.
The filename of the test set is constructed as follows:
<dir> + / + <prefix> + <relation-name> + <suffix>
The relation-name can be modified by using the regular expression to replace the matching sub-string with a specified replacement string.classTells a sub-ResultProducer to reproduce the current run for varying sized subsamples of the dataset.classGenerates a single train/test split and calls the appropriate SplitEvaluator to generate some results.Methods in weka.experiment that return ResultProducerModifier and TypeMethodDescriptionAveragingResultProducer.getResultProducer()Get the ResultProducer.DatabaseResultProducer.getResultProducer()Get the ResultProducer.Experiment.getResultProducer()Get the result producer used for the current experiment.LearningRateResultProducer.getResultProducer()Get the ResultProducer.Methods in weka.experiment with parameters of type ResultProducerModifier and TypeMethodDescriptionvoidAveragingResultProducer.acceptResult(ResultProducer rp, Object[] key, Object[] result) Accepts results from a ResultProducer.voidCSVResultListener.acceptResult(ResultProducer rp, Object[] key, Object[] result) Just prints out each result as it is received.voidDatabaseResultListener.acceptResult(ResultProducer rp, Object[] key, Object[] result) Submit the result to the appropriate table of the databasevoidDatabaseResultProducer.acceptResult(ResultProducer rp, Object[] key, Object[] result) Accepts results from a ResultProducer.voidInstancesResultListener.acceptResult(ResultProducer rp, Object[] key, Object[] result) Collects each instance and adjusts the header information.voidLearningRateResultProducer.acceptResult(ResultProducer rp, Object[] key, Object[] result) Accepts results from a ResultProducer.voidResultListener.acceptResult(ResultProducer rp, Object[] key, Object[] result) Accepts results from a ResultProducer.DatabaseUtils.createExperimentIndexEntry(ResultProducer rp) Attempts to insert a results entry for the table into the experiment index.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[]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.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.Object[]DatabaseUtils.getResultFromTable(String tableName, ResultProducer rp, Object[] key) Executes a database query to extract a result for the supplied key from the database.DatabaseUtils.getResultsTableName(ResultProducer rp) Gets the name of the experiment table that stores results from a particular ResultProducer.booleanAveragingResultProducer.isResultRequired(ResultProducer rp, Object[] key) Determines whether the results for a specified key must be generated.booleanCSVResultListener.isResultRequired(ResultProducer rp, Object[] key) Always says a result is required.booleanDatabaseResultListener.isResultRequired(ResultProducer rp, Object[] key) Always says a result is required.booleanDatabaseResultProducer.isResultRequired(ResultProducer rp, Object[] key) Determines whether the results for a specified key must be generated.booleanLearningRateResultProducer.isResultRequired(ResultProducer rp, Object[] key) Determines whether the results for a specified key must be generated.booleanResultListener.isResultRequired(ResultProducer rp, Object[] key) Determines whether the results for a specified key must be generated.voidAveragingResultProducer.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.voidCSVResultListener.postProcess(ResultProducer rp) Perform any postprocessing.voidDatabaseResultListener.postProcess(ResultProducer rp) Perform any postprocessing.voidDatabaseResultProducer.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.voidInstancesResultListener.postProcess(ResultProducer rp) Perform any postprocessing.voidLearningRateResultProducer.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.voidResultListener.postProcess(ResultProducer rp) Perform any postprocessing.voidAveragingResultProducer.preProcess(ResultProducer rp) Prepare for the results to be received.voidCSVResultListener.preProcess(ResultProducer rp) Prepare for the results to be received.voidDatabaseResultListener.preProcess(ResultProducer rp) Prepare for the results to be received.voidDatabaseResultProducer.preProcess(ResultProducer rp) Prepare for the results to be received.voidInstancesResultListener.preProcess(ResultProducer rp) Prepare for the results to be received.voidLearningRateResultProducer.preProcess(ResultProducer rp) Prepare for the results to be received.voidResultListener.preProcess(ResultProducer rp) Prepare for the results to be received.voidDatabaseUtils.putResultInTable(String tableName, ResultProducer rp, Object[] key, Object[] result) Executes a database query to insert a result for the supplied key into the database.voidAveragingResultProducer.setResultProducer(ResultProducer newResultProducer) Set the ResultProducer.voidDatabaseResultProducer.setResultProducer(ResultProducer newResultProducer) Set the ResultProducer.voidExperiment.setResultProducer(ResultProducer newResultProducer) Set the result producer used for the current experiment.voidLearningRateResultProducer.setResultProducer(ResultProducer newResultProducer) Set the ResultProducer.voidRemoteExperiment.setResultProducer(ResultProducer newResultProducer) Set the result producer used for the current experiment.