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