src/core/metrics/ClassificationMetric.java
public void update(Sequence predicted, Sequence actual) {
        for (Integer sampleIndex : predicted.keySet()) {
            for (Integer matrixIndex : predicted.entryKeySet()) {
                update(predicted.get(sampleIndex, matrixIndex), actual.get(sampleIndex, matrixIndex));
            }
        }
    }
/**
     * Updates classification statistics and confusion matrix for multiple samples.
     *
     * @param predicted predicted samples.
     * @param actual actual (true) samples.
     */
Updates classification statistics and confusion matrix for multiple samples.

@param predicted predicted samples.
@param actual actual (true) samples.
Updates classification statistics and confusion matrix for multiple samples . @param predicted predicted samples . @param actual actual ( true ) samples .
public void update(Sequence predicted, Sequence actual) {
        for (Integer sampleIndex : predicted.keySet()) {
            for (Integer matrixIndex : predicted.entryKeySet()) {
                update(predicted.get(sampleIndex, matrixIndex), actual.get(sampleIndex, matrixIndex));
            }
        }
    }
public void update ( Sequence predicted , Sequence actual ) { for ( Integer sampleIndex : predicted . keySet ( ) ) { for ( Integer matrixIndex : predicted . entryKeySet ( ) ) { update ( predicted . get ( sampleIndex , matrixIndex ) , actual . get ( sampleIndex , matrixIndex ) ) ; } } }
Updates classification statistics and confusion matrix for multiple samples.
Updates classification statistics and confusion matrix for multiple samples .