Skip to content

Instantly share code, notes, and snippets.

@0x0L
Created July 24, 2017 11:57
Show Gist options
  • Save 0x0L/559e33469b22c42d97589214068f8f7e to your computer and use it in GitHub Desktop.
Save 0x0L/559e33469b22c42d97589214068f8f7e to your computer and use it in GitHub Desktop.
normalize
p = sp.stats.laplace.fit(x)
y = sp.stats.norm.ppf(sp.stats.laplace.cdf(x, *p))
z = sp.stats.laplace.ppf(sp.stats.norm.cdf(y), *p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment