News for hackers. Stuff that matters.
Re:Amazon tells bosses to conceal when employees are on perf... by mattkrause on Friday July 09, 2021 @08:55PM (#27790157)
`randn` returns draws from a standard normal distribution (i.e., a Gaussian with mean 0 and standard deviation 1); the n is for normal.

It's then stretched to have an SD of 15 via multiplication, and shifted to have a mean of 100.

This is Julia, but it's the same in Matlab and Numpy (np.random.randn); it'd be rnorm in R (which also lets you specify the mean and sd directly).

Re:Amazon tells bosses to conceal when employees are on perf... by CamperBob2 on Saturday July 10, 2021 @01:20AM (#27791303)
Ah, thanks, I was reading it as "random number."