com.anji.integration
Class ErrorRateCounter

java.lang.Object
  extended by com.anji.integration.ErrorRateCounter

public class ErrorRateCounter
extends java.lang.Object

Author:
Derek James

Method Summary
 void countErrors(double[][] targets, double[][] responses)
          Calculate the sum of differences between responses and target values.
static ErrorRateCounter getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ErrorRateCounter getInstance()
Returns:
singleton instance

countErrors

public void countErrors(double[][] targets,
                        double[][] responses)
Calculate the sum of differences between responses and target values.

Parameters:
targets -
responses - values to compare to targets