|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ed.inf.csb.taweka.mulan.learn.MulanExperimenter
public class MulanExperimenter
Executes cross-evaluation (Mulan multi-label machine learning) and saves results to database
| Constructor Summary | |
|---|---|
MulanExperimenter(java.lang.String arffPropsFile,
java.lang.String experimentPropsFile,
java.lang.String xmlFile,
int arffRecordId,
mulan.classifier.MultiLabelLearnerBase learner)
|
|
| Method Summary | |
|---|---|
uk.ac.ed.inf.csb.utils.database.TableRow |
addEvaluationResultsToTableRow(uk.ac.ed.inf.csb.utils.database.TableRow row,
mulan.evaluation.Evaluation results)
adds the evaluation results to a table row object |
uk.ac.ed.inf.csb.utils.database.TableRow |
createEvaluationRecord(int i)
Add timestamps and identifiers to the cross evaluation results |
void |
crossEvaluateAndSaveEvaluationResults()
Cross validates and saves results to database |
java.lang.String |
getArffFileName()
public Evaluation[] crossValidate() { // cross validate and get results return m_evaluator.getEvaluationResults(); } |
int |
getArffId()
|
uk.ac.ed.inf.csb.utils.database.DbManager |
getDataDbManager()
|
MulanEvaluator |
getEvaluator()
|
mulan.classifier.MultiLabelLearnerBase |
getLearner()
public String getExperimentPropsPath() { return m_experimentPropsFile; } |
mulan.evaluation.Evaluation[] |
getResults()
|
uk.ac.ed.inf.csb.utils.database.DbManager |
getResultsDbManager()
|
uk.ac.ed.inf.csb.utils.database.TableManager |
getTableManager()
|
java.lang.String |
getXmlFileName()
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MulanExperimenter(java.lang.String arffPropsFile,
java.lang.String experimentPropsFile,
java.lang.String xmlFile,
int arffRecordId,
mulan.classifier.MultiLabelLearnerBase learner)
| Method Detail |
|---|
public uk.ac.ed.inf.csb.utils.database.TableRow addEvaluationResultsToTableRow(uk.ac.ed.inf.csb.utils.database.TableRow row,
mulan.evaluation.Evaluation results)
public uk.ac.ed.inf.csb.utils.database.TableRow createEvaluationRecord(int i)
i - the index of the cross evaluation results record (the fold)
public void crossEvaluateAndSaveEvaluationResults()
public java.lang.String getArffFileName()
public int getArffId()
public uk.ac.ed.inf.csb.utils.database.DbManager getDataDbManager()
public MulanEvaluator getEvaluator()
public mulan.classifier.MultiLabelLearnerBase getLearner()
public mulan.evaluation.Evaluation[] getResults()
public uk.ac.ed.inf.csb.utils.database.DbManager getResultsDbManager()
public uk.ac.ed.inf.csb.utils.database.TableManager getTableManager()
public java.lang.String getXmlFileName()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||