def logistic_function(value):
 return (1.0 / (1.0 + math.exp((- value))))

def logistic_function ( value ) : return ( 1.0 / ( 1.0 + math . exp ( ( - value ) ) ) )
transform the value with the logistic function .