public abstract class Execution extends InstanceObjects
| Modifier and Type | Field and Description |
|---|---|
protected AlgorithmVO |
_algo |
protected Date |
_endedAtTime |
protected String |
_errorMessage |
protected List<ExampleVO> |
_examples |
protected ExperimentConfigurationVO |
_expConf |
protected String |
_id |
protected List<Measure> |
_performances |
protected PhaseVO |
_phase |
protected Date |
_startedAtTime |
protected String |
_targetClass |
| Constructor and Description |
|---|
Execution() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDatasetExample(String id,
String value,
long datasetRow,
long datasetColumn,
org.metarchive.mex.core.MEXEnum.EnumExamplesType type)
Add a dataset example to the execution
|
void |
addPerformance(org.metarchive.mex.core.MEXEnum.EnumMeasures m,
double v)
add PerformanceMeasure (related to OverallExecution)
|
boolean |
addPerformance(String exampleIdentifier,
String predictedValue,
String realValue)
add PerformanceMeasure
|
boolean |
addPerformance(String id,
String description,
String formula,
Double value)
add UserDefinedMeasure
|
protected AlgorithmVO |
getAlgorithm()
gets the Algorithm associated to an Execution
|
protected Date |
getEndedAtTime()
gets end time for given execution
|
protected String |
getErrorMessage() |
protected List<ExampleVO> |
getExamples()
gets the Example (in case of mexcore:SingleExecution) or Examples (in case of a mexcore:OverallExecution)
associated to an Execution.
|
protected String |
getId()
gets the id of an execution
|
protected List<Measure> |
getPerformances()
gets the Performance measures for an Execution
|
protected List<Measure> |
getPerformances(Class<? extends IMeasure> klass) |
protected PhaseVO |
getPhase()
gets the Phase associated to an Execution
|
protected Date |
getStartedAtTime()
gets the start time for given execution
|
protected String |
getTargetClass()
gets the target class for given execution
|
void |
setAlgorithm(AlgorithmVO value) |
boolean |
setAlgorithm(String algorithmidentifier) |
void |
setEndDate(Date value) |
abstract void |
setEndsAtPosition(String value) |
void |
setErrorMessage(String value) |
void |
setStartDate(Date value) |
abstract void |
setStartsAtPosition(String value)
setters
|
void |
setTargetClass(String _targetClass) |
equals, getIndividualName, getLabel, hashCode, setIndividualName, setLabelprotected String _id
protected String _targetClass
protected Date _startedAtTime
protected Date _endedAtTime
protected String _errorMessage
protected ExperimentConfigurationVO _expConf
protected PhaseVO _phase
protected AlgorithmVO _algo
protected String getId()
protected String getTargetClass()
protected Date getStartedAtTime()
protected Date getEndedAtTime()
protected PhaseVO getPhase()
protected AlgorithmVO getAlgorithm()
protected List<Measure> getPerformances()
protected List<ExampleVO> getExamples()
protected String getErrorMessage()
public abstract void setStartsAtPosition(String value)
value - public abstract void setEndsAtPosition(String value)
value - public void setTargetClass(String _targetClass)
_targetClass - public void setStartDate(Date value)
value - public void setEndDate(Date value)
value - public void setAlgorithm(AlgorithmVO value)
value - public boolean setAlgorithm(String algorithmidentifier) throws Exception
algorithmidentifier - (instanceName or algorithmID)Exceptionpublic void setErrorMessage(String value)
public boolean addPerformance(String id, String description, String formula, Double value)
id - description - formula - value - public boolean addPerformance(String exampleIdentifier, String predictedValue, String realValue)
exampleIdentifier - predictedValue - realValue - public void addPerformance(org.metarchive.mex.core.MEXEnum.EnumMeasures m,
double v)
throws Exception
m - v - Exceptionpublic boolean addDatasetExample(String id, String value, long datasetRow, long datasetColumn, org.metarchive.mex.core.MEXEnum.EnumExamplesType type) throws Exception
id - value - value of the example itemdatasetRow - indicates the dataset rowdatasetColumn - indicates the dataset columntype - ExceptionCopyright © 2018 METArchive. All rights reserved.