|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.meta.multisearch.Performance
public class Performance
A helper class for storing the performance of values in the parameter space. Can be sorted with the PerformanceComparator class.
PerformanceComparator,
Serialized Form| Field Summary | |
|---|---|
static int |
EVALUATION_ACC
evaluation via: Accuracy. |
static int |
EVALUATION_CC
evaluation via: Correlation coefficient. |
static int |
EVALUATION_COMBINED
evaluation via: Combined = (1-CC) + RRSE + RAE. |
static int |
EVALUATION_KAPPA
evaluation via: Kappa statistic. |
static int |
EVALUATION_MAE
evaluation via: Mean absolute error. |
static int |
EVALUATION_RAE
evaluation via: Relative absolute error. |
static int |
EVALUATION_RMSE
evaluation via: Root mean squared error. |
static int |
EVALUATION_RRSE
evaluation via: Root relative squared error. |
protected double |
m_ACC
the Accuracy. |
protected double |
m_CC
the Correlation coefficient. |
protected int |
m_Evaluation
the evaluation type. |
protected double |
m_Kappa
the Kappa statistic. |
protected double |
m_MAE
the Mean absolute error. |
protected double |
m_RAE
the Relative absolute error. |
protected double |
m_RMSE
the Root mean squared error. |
protected double |
m_RRSE
the Root relative squared error. |
protected Point<Object> |
m_Values
the values the filter/classifier were built with. |
| Constructor Summary | |
|---|---|
Performance(Point<Object> values,
weka.classifiers.Evaluation evaluation,
int evalType)
Initializes the performance container. |
|
| Method Summary | |
|---|---|
int |
getEvaluation()
Returns the evaluation type. |
double |
getPerformance()
returns the performance measure. |
double |
getPerformance(int evaluation)
returns the performance measure. |
Point<Object> |
getValues()
returns the values for this performance. |
String |
toString()
returns a string representation of this performance object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EVALUATION_CC
public static final int EVALUATION_RMSE
public static final int EVALUATION_RRSE
public static final int EVALUATION_MAE
public static final int EVALUATION_RAE
public static final int EVALUATION_COMBINED
public static final int EVALUATION_ACC
public static final int EVALUATION_KAPPA
protected Point<Object> m_Values
protected int m_Evaluation
protected double m_CC
protected double m_RMSE
protected double m_RRSE
protected double m_MAE
protected double m_RAE
protected double m_ACC
protected double m_Kappa
| Constructor Detail |
|---|
public Performance(Point<Object> values,
weka.classifiers.Evaluation evaluation,
int evalType)
throws Exception
values - the valuesevaluation - the evaluation to extract the performance
measures from, can be nullevalType - the type of evaluation
Exception - if retrieving of measures fails| Method Detail |
|---|
public int getEvaluation()
MultiSearch.TAGS_EVALUATIONpublic double getPerformance()
public double getPerformance(int evaluation)
evaluation - the type of evaluation to return
public Point<Object> getValues()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||