Package weka.classifiers.evaluation
Class EvaluationMetricManager
- java.lang.Object
-
- weka.classifiers.evaluation.EvaluationMetricManager
-
public class EvaluationMetricManager extends Object
Manages the additional metrics.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description static StringFILENAMEthe file to store the default watermark setup in.protected static Propertiesm_Propertiesthe underlying properties.
-
Constructor Summary
Constructors Constructor Description EvaluationMetricManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiesgetProperties()Returns the properties.static booleanisEnabled(Class cls)Checks whether the metric is enabled.static booleanisEnabled(Object obj)Checks whether the metric is enabled.
-
-
-
Field Detail
-
FILENAME
public static final String FILENAME
the file to store the default watermark setup in.- See Also:
- Constant Field Values
-
m_Properties
protected static Properties m_Properties
the underlying properties.
-
-
Method Detail
-
isEnabled
public static boolean isEnabled(Object obj)
Checks whether the metric is enabled.- Parameters:
obj- the metric to check- Returns:
- true if enabled
-
isEnabled
public static boolean isEnabled(Class cls)
Checks whether the metric is enabled.- Parameters:
cls- the metric to check- Returns:
- true if enabled
-
getProperties
public static Properties getProperties()
Returns the properties.- Returns:
- the properties
-
-