<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/tests, branch v1.9.0</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Merge pull request #5051 from juliantaylor/thread-test-fix</title>
<updated>2014-09-06T12:18:33+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-09-06T12:18:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c7961485532129e0f431a82ba4ed79b7c809e4bb'/>
<id>c7961485532129e0f431a82ba4ed79b7c809e4bb</id>
<content type='text'>
TST: accept small error in threaded random test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TST: accept small error in threaded random test
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: accept small error in threaded random test</title>
<updated>2014-09-06T11:27:05+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-09-06T11:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3ea3dece5a5ef586a07310e12236669220eada07'/>
<id>3ea3dece5a5ef586a07310e12236669220eada07</id>
<content type='text'>
freebsd and windows change x87 precision mode (fctrl bit 8 and 9) from
extended to double in child threads so the random numbers cannot be
exactly the same from master and child threads.
see gh-4909
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
freebsd and windows change x87 precision mode (fctrl bit 8 and 9) from
extended to double in child threads so the random numbers cannot be
exactly the same from master and child threads.
see gh-4909
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: PEP8 fixups for numpy/random.</title>
<updated>2014-08-01T01:07:38+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2014-08-01T00:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=56471a170eee1c4694cde1889b8532e25f40e5d0'/>
<id>56471a170eee1c4694cde1889b8532e25f40e5d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: avoid infinite loop for small kappa in vonmises</title>
<updated>2014-05-28T18:11:22+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-05-28T17:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=69e26e54edd3c83fae61e880a102d1b979e2d67d'/>
<id>69e26e54edd3c83fae61e880a102d1b979e2d67d</id>
<content type='text'>
rho results in 0. for kappa &lt; 1.4e-8 whch leads to nans appearing and an
infinite loop.
the second order taylor expansion is more precise up to at least 1e-5.
Closes gh-4720
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rho results in 0. for kappa &lt; 1.4e-8 whch leads to nans appearing and an
infinite loop.
the second order taylor expansion is more precise up to at least 1e-5.
Closes gh-4720
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: reject too large seeds to RandomState</title>
<updated>2014-05-15T00:13:34+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-05-05T17:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6b1a1205eac6fe5d162f16155d500765e8bca53c'/>
<id>6b1a1205eac6fe5d162f16155d500765e8bca53c</id>
<content type='text'>
mtrand accepts seeds larger than 32 bit but silently truncates them back
to 32 bit. This can lead to accidentally getting the same random stream
for two different seeds, e.g. 1 and 1 + 2**40.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mtrand accepts seeds larger than 32 bit but silently truncates them back
to 32 bit. This can lead to accidentally getting the same random stream
for two different seeds, e.g. 1 and 1 + 2**40.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: replace GIL of random module with a per state lock</title>
<updated>2014-05-02T11:24:23+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-04-10T23:20:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=94172e1bbaf48e121f90d0252e33dc9f433b1534'/>
<id>94172e1bbaf48e121f90d0252e33dc9f433b1534</id>
<content type='text'>
The random module currently relies on the GIL for the state
synchronization which hampers threading performance.
Instead add a lock to the RandomState object and take it for all
operations calling into randomkit while releasing the GIL.
This allows parallizing random number generation using multiple states
or asynchronous generation in a worker thread.

Note that with a large number of threads the standard mersenne twister
used may exhibit overlap if the number of parallel streams is large
compared to the size of the state space, though due to the limited
scalability of Python in regards to threads this is likely not a big
issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The random module currently relies on the GIL for the state
synchronization which hampers threading performance.
Instead add a lock to the RandomState object and take it for all
operations calling into randomkit while releasing the GIL.
This allows parallizing random number generation using multiple states
or asynchronous generation in a worker thread.

Note that with a large number of threads the standard mersenne twister
used may exhibit overlap if the number of parallel streams is large
compared to the size of the state space, though due to the limited
scalability of Python in regards to threads this is likely not a big
issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Explicitly reject nan values for p in binomial(n, p). Fixes #4571.</title>
<updated>2014-04-05T01:58:11+00:00</updated>
<author>
<name>Daniel da Silva</name>
<email>daniel@meltingwax.net</email>
</author>
<published>2014-04-05T01:58:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ac56b60a72df1ee939f3aa0826389276fc4b0b64'/>
<id>ac56b60a72df1ee939f3aa0826389276fc4b0b64</id>
<content type='text'>
Adds check with np.isnan(p) and raises ValueError if check is positive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds check with np.isnan(p) and raises ValueError if check is positive.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add some tests for random.multivariate_normal.</title>
<updated>2014-03-22T23:34:42+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2014-03-13T22:07:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1c825f38d74bd9435c0b0c691dbea0a36a1ab0af'/>
<id>1c825f38d74bd9435c0b0c691dbea0a36a1ab0af</id>
<content type='text'>
Explicitly Test that the default shape does not raise a
DeprecationWarning.

Check that a covariance matrix that is not positive-semidefinite
raises a RuntimeWarning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Explicitly Test that the default shape does not raise a
DeprecationWarning.

Check that a covariance matrix that is not positive-semidefinite
raises a RuntimeWarning.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: handle non integer types for multinomial/dirichlet size</title>
<updated>2014-02-22T11:24:54+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-02-22T11:14:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fdb219f58740748229c2142c5643e79ae1c27d69'/>
<id>fdb219f58740748229c2142c5643e79ae1c27d69</id>
<content type='text'>
Closes gh-3173
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-3173
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: fix shuffling of flexible dtypes and masked arrays</title>
<updated>2014-02-13T18:45:03+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-02-12T19:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=0981867cf1d7b5adab4db46d601365400ed52892'/>
<id>0981867cf1d7b5adab4db46d601365400ed52892</id>
<content type='text'>
closes gh-4270 and gh-3263
also regenerate with cython 0.20.1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes gh-4270 and gh-3263
also regenerate with cython 0.20.1
</pre>
</div>
</content>
</entry>
</feed>
