public class EvaluationStatistics extends HashMap<String,Number>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CLASSIFIER
the key for the classifier.
|
static String |
KEY_RELATION
the key for the relation.
|
protected MultiLabelClassifier |
m_Classifier
the classifier.
|
protected String |
m_CommandLine
the classifier commandline.
|
protected String |
m_Relation
the relation name.
|
| Constructor and Description |
|---|
EvaluationStatistics()
Default constructor.
|
EvaluationStatistics(MultiLabelClassifier classifier,
weka.core.Instances dataset,
Result result)
Extracts the statistics from the Result object.
|
EvaluationStatistics(MultiLabelClassifier classifier,
String relation,
Result result)
Extracts the statistics from the Result object.
|
| Modifier and Type | Method and Description |
|---|---|
MultiLabelClassifier |
getClassifier()
Returns the classifier for these statistics.
|
String |
getCommandLine()
Returns the commandline of the classifier for these statistics.
|
String |
getRelation()
Returns the relation for these statistics.
|
String |
toString()
Returns the statistics as string.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCodepublic static final String KEY_CLASSIFIER
public static final String KEY_RELATION
protected MultiLabelClassifier m_Classifier
protected String m_CommandLine
protected String m_Relation
public EvaluationStatistics()
public EvaluationStatistics(MultiLabelClassifier classifier, weka.core.Instances dataset, Result result)
classifier - the classifierdataset - the datasetresult - the evaluationpublic EvaluationStatistics(MultiLabelClassifier classifier, String relation, Result result)
classifier - the classifierrelation - the relationresult - the evaluationpublic MultiLabelClassifier getClassifier()
public String getCommandLine()
public String getRelation()
public String toString()
toString in class AbstractMap<String,Number>Copyright © 2017. All Rights Reserved.