org.jpmml.evaluator
Class VerificationUtil

java.lang.Object
  extended by org.jpmml.evaluator.VerificationUtil

public class VerificationUtil
extends Object


Method Summary
static boolean acceptable(Number expected, Number actual, double precision)
           
static boolean acceptable(Object expected, Object actual, double precision)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

acceptable

public static boolean acceptable(Object expected,
                                 Object actual,
                                 double precision)

acceptable

public static boolean acceptable(Number expected,
                                 Number actual,
                                 double precision)
Parameters:
precision - The acceptable range given in proportion of the expected value, including its boundaries.


Copyright © 2013 University of Tartu. All Rights Reserved.