#NEWLINE# def CalculateModelPredictions( self , inCoeffs , inDataCacheDictionary ) : #NEWLINE# #INDENT# x_in = inDataCacheDictionary [ 'X' ] #NEWLINE# A = inCoeffs [ 0 ] #NEWLINE# C = inCoeffs [ 1 ] #NEWLINE# M = inCoeffs [ 2 ] #NEWLINE# B = inCoeffs [ 3 ] #NEWLINE# T = inCoeffs [ 4 ] #NEWLINE# try : #NEWLINE# #INDENT# temp = ( A + ( C / numpy . power ( ( 1.0 + ( T * numpy . exp ( ( ( ( - 1.0 ) * B ) * ( x_in - M ) ) ) ) ) , ( 1.0 / T ) ) ) ) #NEWLINE# return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# return ( numpy . ones ( len ( inDataCacheDictionary [ 'DependentData' ] ) ) * 1e+300 )