Skip to content

Instantly share code, notes, and snippets.

@kevinw
Created July 22, 2008 20:33
Show Gist options
  • Save kevinw/1268 to your computer and use it in GitHub Desktop.
Save kevinw/1268 to your computer and use it in GitHub Desktop.
def logistic(x, mu = 9):
'Smoothing function (s curve).'
return 1 - 1 /( 1 + math_e ** ((x - 1/2) * mu))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment