uk.ac.ed.inf.taweka.mulan.learn
Class ResultsFormatter

java.lang.Object
  extended by uk.ac.ed.inf.taweka.mulan.learn.ResultsFormatter

public class ResultsFormatter
extends java.lang.Object

Class

Version:
17 Aug 2010
Author:
Luna De Ferrari luna.deferrari-at-ed.ac.uk

Constructor Summary
ResultsFormatter()
           
 
Method Summary
static uk.ac.ed.inf.utils.database.TableRow addEvaluationResultsToTableRow(uk.ac.ed.inf.utils.database.TableRow row, mulan.evaluation.Evaluation results)
          adds the evaluation results to a table row object
static uk.ac.ed.inf.utils.database.TableRow createEvaluationRecord(int runNumber, int trainArffId, int testArffId, java.lang.String startTime, java.lang.String endTime, MulanLearner learner, mulan.evaluation.Evaluation evaluationResults, uk.ac.ed.inf.utils.database.TableManager tableManager)
          Add timestamps and identifiers to the cross evaluation results
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsFormatter

public ResultsFormatter()
Method Detail

addEvaluationResultsToTableRow

public static uk.ac.ed.inf.utils.database.TableRow addEvaluationResultsToTableRow(uk.ac.ed.inf.utils.database.TableRow row,
                                                                                  mulan.evaluation.Evaluation results)
adds the evaluation results to a table row object


createEvaluationRecord

public static uk.ac.ed.inf.utils.database.TableRow createEvaluationRecord(int runNumber,
                                                                          int trainArffId,
                                                                          int testArffId,
                                                                          java.lang.String startTime,
                                                                          java.lang.String endTime,
                                                                          MulanLearner learner,
                                                                          mulan.evaluation.Evaluation evaluationResults,
                                                                          uk.ac.ed.inf.utils.database.TableManager tableManager)
Add timestamps and identifiers to the cross evaluation results

Parameters:
runNumber -
arffId -
startTime -
endTime -
learner -
evaluationResults -
tableManager -
Returns:
a full evaluation record