question: @ Override public void assertEquals ( String message , Object expectedObj , Object actualObj ) { LinearRegressionModel expected = ( LinearRegressionModel ) expectedObj ; LinearRegressionModel actual = ( LinearRegressionModel ) actualObj ; message = message + " - Linear Regression Model \"" + actual . getSource ( ) + "\" does not match the expected Model" ; Assert . assertArrayEquals ( message + " : coefficients are not equal" , expected . getCoefficients ( ) , actual . getCoefficients ( ) , 1E-15 ) ; Assert . assertArrayEquals ( message + " : probabilities are not equal" , expected . getProbabilities ( ) , actual . getProbabilities ( ) , 1E-15 ) ; Assert . assertArrayEquals ( message + " : selected attributes are not equal" , expected . getSelectedAttributeNames ( ) , actual . getSelectedAttributeNames ( ) ) ; Assert . assertArrayEquals ( message + " : selected attributes are not equal" , expected . getSelectedAttributes ( ) , actual . getSelectedAttributes ( ) ) ; Assert . assertArrayEquals ( message + " : standard errors are not equal" , expected . getStandardErrors ( ) , actual . getStandardErrors ( ) , 1E-15 ) ; Assert . assertArrayEquals ( message + " : standardized coefficients are not equal" , expected . getStandardizedCoefficients ( ) , actual . getStandardizedCoefficients ( ) , 1E-15 ) ; Assert . assertArrayEquals ( message + " : tolerances are not equal" , expected . getTolerances ( ) , actual . getTolerances ( ) , 1E-15 ) ; Assert . assertArrayEquals ( message + " : t statistics are not equal" , expected . getTStats ( ) , actual . getTStats ( ) , 1E-15 ) ; }
target:  Tests two linearRegression models by comparing all values