#NEWLINE# def CalculateModelPredictions( self , inCoeffs , inDataCacheDictionary ) : #NEWLINE# #INDENT# x_in = inDataCacheDictionary [ 'X' ] #NEWLINE# x_PowX2 = inDataCacheDictionary [ 'PowX_2.0' ] #NEWLINE# x_PowX3 = inDataCacheDictionary [ 'PowX_3.0' ] #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# h = inCoeffs [ 6 ] #NEWLINE# try : #NEWLINE# #INDENT# temp = ( ( ( ( a + ( b * x_in ) ) + ( c * x_PowX2 ) ) + ( d * x_PowX3 ) ) / ( ( ( 1.0 + ( f * x_in ) ) + ( g * x_PowX2 ) ) + ( h * x_PowX3 ) ) ) #NEWLINE# return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return ( numpy . ones ( len ( x_in [ 'DependentData' ] ) ) * 1e+300 )