Doug Coleman
|
afb2a6eabb
|
random: Bump up the random unit tests from 50k to 500k. At 50k, pareto doesn't have enough samples to get the right std. At 500k, it should never fail again..
|
2012-08-16 14:14:08 -07:00 |
Doug Coleman
|
cfdbf02a9a
|
random: More leeway for pareto unit test. Python's pareto distribution behaves the same, with a wide variance. Maybe both are busted, or is that just expected from pareto? Fixes #564.
|
2012-07-26 12:19:21 -07:00 |
John Benediktsson
|
9e9d830ec0
|
random: adding rayleigh, gumbel, logistic, and power random floats.
|
2012-04-18 14:37:27 -07:00 |
John Benediktsson
|
1c66fbf086
|
random: adding some tests for the random distributions.
|
2012-04-15 10:16:06 -07:00 |
Doug Coleman
|
8af39377d1
|
random: Add a k parameter for pareto. Add some unit tests.
|
2012-04-03 16:27:04 -07:00 |
Daniel Ehrenberg
|
434605c0b5
|
Changing some uses of prune to use members
|
2010-02-27 13:14:03 -05:00 |
Doug Coleman
|
4c71d71907
|
random is generic now -- iota random -> random
|
2010-01-14 12:48:57 -06:00 |
Doug Coleman
|
52f4a05fad
|
Make random a generic so it can still be called on integers
|
2010-01-15 07:15:35 +13:00 |
Slava Pestov
|
df4fb4a3ee
|
Removing integers-as-sequences
|
2010-01-15 07:15:33 +13:00 |
Doug Coleman
|
ccc69a5ef4
|
fix bug in random-bytes* when no random-32* exists
|
2009-10-01 11:58:52 -05:00 |
Doug Coleman
|
fa15da56ff
|
add sample word to random vocab
|
2009-09-23 12:04:06 -05:00 |
Doug Coleman
|
0e0662ffc5
|
move random-bits* to random, work on docs
|
2009-05-10 13:39:08 -05:00 |
Doug Coleman
|
99122a8fb1
|
use while to implement randomize (thanks joe!), document it
|
2009-02-14 14:25:48 -06:00 |
Doug Coleman
|
a0491606bc
|
fix { } randomize, more unit tests
|
2009-02-14 14:04:54 -06:00 |
Doug Coleman
|
1418a67cc6
|
unit test how many elements to swap with randomize, remove a usage of pick
|
2009-02-14 13:28:41 -06:00 |
Doug Coleman
|
0286c524e8
|
randomize was broken -- elements could not exchange with themselves
|
2009-02-14 13:14:00 -06:00 |
Slava Pestov
|
b0d57ead86
|
Fix unit test
|
2008-10-05 23:09:10 -05:00 |
Doug Coleman
|
7bf5a3a077
|
remove unit test
|
2008-10-05 16:41:42 -05:00 |
Doug Coleman
|
6b3b48a106
|
random is generic, better random docs, cleanups
|
2008-10-04 11:44:12 -05:00 |
Doug Coleman
|
24642501e7
|
fix random for real. is there redundant math here?
|
2008-09-09 17:07:32 -05:00 |
Doug Coleman
|
7764242f66
|
make the random word actually return a number in the full range of the input and replace division words with bitwise ones
|
2008-09-09 15:39:40 -05:00 |
Slava Pestov
|
aea0fed14c
|
Fixing basis -> extra dependencies
|
2008-09-05 19:29:14 -05:00 |
Slava Pestov
|
d66f887736
|
Create basis vocab root
|
2008-07-28 22:03:13 -05:00 |