#NEWLINE# def gdiff( self , score ) : #NEWLINE# #INDENT# '\n\n        :param score:\n        :return:\n        ' #NEWLINE# exponential = np . exp ( ( - score ) ) #NEWLINE# return ( ( - exponential ) / ( 1.0 + exponential ) )