Hamzeh Alsalhi
2198a84388
Manage explicit zeros manualy in class_distribution, test with explicit zeros
2014-08-09 10:33:35 -04:00
Hamzeh Alsalhi
9783de3b20
Test additional corner cases with random_choice_csc, error on proabilites not summing to 1
2014-08-08 21:17:47 -04:00
Hamzeh Alsalhi
2a3f504f1c
Make cosmetic adjustments, Fix random.py header, use message with assert_warns
2014-08-08 18:48:23 -04:00
Hamzeh Alsalhi
7cfea35902
Change dtype check conditional to look for everything other than int
2014-08-08 18:16:48 -04:00
Hamzeh Alsalhi
a5acf9d8a6
Test insertion of 0 class in random_choice_csc
2014-08-07 17:45:28 -04:00
Hamzeh Alsalhi
94b7845c4b
Test that class dtypes string and float fail in random_choice_csc
2014-08-07 17:00:00 -04:00
Hamzeh Alsalhi
7b7784e0aa
Make cosmetic changes
...
Break list comprehenesions differently in dummy precit
Drop uncesseray float() in multiclass class_distrribtuion
Combine two lines in random_choice_csc
2014-08-06 23:01:42 -04:00
Hamzeh Alsalhi
0e314728dc
Remove transposes from testing of random_choice_csc
2014-08-05 14:04:45 -04:00
Hamzeh Alsalhi
f59e4da4ab
Test random_choice_csc implicit, readability adjustments
...
Readability: remove unecessary transpose
2014-08-05 11:32:37 -04:00
Hamzeh Alsalhi
40d8fb3f1a
Replace numpy.random.choice with a search sorted strategy for faster runtime
2014-08-05 10:45:19 -04:00
Hamzeh Alsalhi
0ee10dc4cd
move random_choice_csc to utils/random from utils/sparsefuncs
2014-08-04 17:41:31 -04:00
Andreas Mueller
7f5a78464c
DOC more / better documentation
2014-07-14 20:47:18 +02:00
Andreas Mueller
7a04b8d606
skip doctests
2014-07-14 20:47:17 +02:00
Andreas Mueller
1ea8fcaa6c
ENH backport np.random.choice.
2014-07-14 20:47:17 +02:00
Andreas Mueller
f7d14b365d
MISC rename random.pyx to _random.pyx
2014-07-14 20:47:17 +02:00