Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
sim
somebodycool69
Jun 9th, 2023
450
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
def sim(N, zero_prob, mu, sigma):
things = 1.0 - np.random.binomial(1, zero_prob, size=N)
return things * np.random.normal(mu, sigma, size=N)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
SwapEngine Bug [build 1.3]
11 min ago | 0.28 KB
December smells like money
CSS | 25 min ago | 0.28 KB
✅ Changelly.com Exploit
38 min ago | 0.28 KB
Trading method
CSS | 51 min ago | 0.28 KB
Untitled
C | 9 hours ago | 0.88 KB
acg
1 day ago | 0.05 KB
AI METHODS
2 days ago | 0.29 KB
Untitled
2 days ago | 0.29 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!