yawn.util
Class ErrorUtils

java.lang.Object
  extended by yawn.util.ErrorUtils

public class ErrorUtils
extends java.lang.Object

Utility class that contains some usefull error metrics $Id: ErrorUtils.java,v 1.3 2005/04/07 17:28:30 supermarti Exp $

Version:
$Revision: 1.3 $
Author:
Luis Martí (luis dot marti at uc3m dot es)

Constructor Summary
ErrorUtils()
           
 
Method Summary
protected static void checkDimensions(Pattern[] desired, Pattern[] predictions)
           
static double meanSquaredError(Pattern[] desired, Pattern[] predictions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorUtils

public ErrorUtils()
Method Detail

checkDimensions

protected static void checkDimensions(Pattern[] desired,
                                      Pattern[] predictions)

meanSquaredError

public static double meanSquaredError(Pattern[] desired,
                                      Pattern[] predictions)
Parameters:
desired -
predictions -
Returns:
the mean squared error


Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.