question: @ Override public void countExample ( Example example ) { int label = classNameMap . get ( example . getNominalValue ( labelAttribute ) ) ; int plabel = classNameMap . get ( example . getNominalValue ( predictedLabelAttribute ) ) ; double weight = 1.0d ; if ( weightAttribute != null ) { weight = example . getValue ( weightAttribute ) ; } counter [ label ] [ plabel ] += weight ; }
target:  Increases the prediction value in the matrix. 