|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a generic handle to Agent's Performance. It presents the minimal set of needed data.
Method Summary | |
java.lang.Object |
clone()
Clones the current IncrementalLearning Performance object. |
boolean |
equals(java.lang.Object obj)
Compares if the performances are equal |
float |
getAccuracy()
Provides the overall classification performance information. |
int[][] |
getConfusionMatrix()
Returns the confusion matrix. |
int |
getDontKnow()
Returns the total number of unclassified instances |
float |
getScaledAccuracy()
Provides the overall classification performance information. |
int |
getTotal()
Returns the total number of classified instances |
void |
reset()
Resets all the performance information contained. |
java.lang.String |
toString()
Converts the information into a string |
void |
update(int iCls,
int iReal)
Updates the performance information. |
Method Detail |
public int[][] getConfusionMatrix()
public int getDontKnow()
public int getTotal()
public float getAccuracy()
public float getScaledAccuracy()
public void update(int iCls, int iReal)
iCls
- The predicted classiReal
- The real classpublic void reset()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the performance to be compared with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- The object could not be clonedpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |