#NEWLINE# def CalculateModelPredictions( self , inCoeffs , inDataCacheDictionary ) : #NEWLINE# #INDENT# x_in = inDataCacheDictionary [ 'X' ] #NEWLINE# y_in = inDataCacheDictionary [ 'Y' ] #NEWLINE# PowX_2 = inDataCacheDictionary [ 'PowX_2.0' ] #NEWLINE# PowY_2 = inDataCacheDictionary [ 'PowY_2.0' ] #NEWLINE# XY = inDataCacheDictionary [ 'XY' ] #NEWLINE# a = inCoeffs [ 0 ] #NEWLINE# b = inCoeffs [ 1 ] #NEWLINE# c = inCoeffs [ 2 ] #NEWLINE# d = inCoeffs [ 3 ] #NEWLINE# f = inCoeffs [ 4 ] #NEWLINE# g = inCoeffs [ 5 ] #NEWLINE# try : #NEWLINE# #INDENT# temp = ( ( ( ( ( a + ( b * x_in ) ) + ( c * temp ) ) + ( d * PowX_2 ) ) + ( f * PowY_2 ) ) + ( g * XY ) ) #NEWLINE# return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return ( numpy . ones ( len ( inDataCacheDictionary [ 'DependentData' ] ) ) * 1e+300 )