Skip to content

Instantly share code, notes, and snippets.

@sanity
Created March 8, 2009 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanity/75514 to your computer and use it in GitHub Desktop.
Save sanity/75514 to your computer and use it in GitHub Desktop.
damp3 n x lr = (1-lr)^n * x + 1-(1-lr)^n
dampb x lr = x + lr*(1-x)
damp2 1 x lr = dampb x lr
damp2 n x lr = dampb (damp2 n-1 x lr) lr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment