Re: [Numpy-discussion] Question about numpy.random.choice with probabilties

2017-01-18 Thread Nadav Har'El
On Wed, Jan 18, 2017 at 1:58 AM, aleba...@gmail.com wrote: > > > 2017-01-17 22:13 GMT+01:00 Nadav Har'El : > >> >> On Tue, Jan 17, 2017 at 7:18 PM, aleba...@gmail.com >> wrote: >> >>> Hi Nadav, >>> >>> I may be wrong, but I think that

Re: [Numpy-discussion] Question about numpy.random.choice with probabilties

2017-01-18 Thread Nadav Har'El
On Wed, Jan 18, 2017 at 11:00 AM, aleba...@gmail.com wrote: > Let's look at what the user asked this function, and what it returns: > >> >> User asks: please give me random pairs of the three items, where item 1 >> has probability 0.2, item 2 has 0.4, and 3 has 0.4. >> >>

Re: [Numpy-discussion] Question about numpy.random.choice with probabilties

2017-01-18 Thread aleba...@gmail.com
2017-01-18 9:35 GMT+01:00 Nadav Har'El : > > On Wed, Jan 18, 2017 at 1:58 AM, aleba...@gmail.com > wrote: > >> >> >> 2017-01-17 22:13 GMT+01:00 Nadav Har'El : >> >>> >>> On Tue, Jan 17, 2017 at 7:18 PM, aleba...@gmail.com

Re: [Numpy-discussion] GSoC 2017: NumFocus will be an umbrella organization

2017-01-18 Thread Ralf Gommers
Hi Max, On Tue, Jan 17, 2017 at 2:38 AM, Max Linke wrote: > Hi > > Organizations can start submitting applications for Google Summer of Code > 2017 on January 19 (and the deadline is February 9) > > https://developers.google.com/open-source/gsoc/timeline?hl=en Thanks for

Re: [Numpy-discussion] [SciPy-Dev] NumPy 1.12.0 release

2017-01-18 Thread Neal Becker
Nathaniel Smith wrote: > On Tue, Jan 17, 2017 at 3:47 PM, Neal Becker wrote: >> Matthew Brett wrote: >> >>> Hi, >>> >>> On Tue, Jan 17, 2017 at 5:56 AM, Neal Becker >>> wrote: Charles R Harris wrote: > Hi All, > > I'm pleased to

Re: [Numpy-discussion] NumPy 1.12.0 release

2017-01-18 Thread Julian Taylor
The version of gcc used will make a large difference in some places. E.g. the AVX2 integer ufuncs require something around 4.5 to work and in general the optimization level of gcc has improved greatly since the clang competition showed up around that time. centos 5 has 4.1 which is really ancient.

Re: [Numpy-discussion] NumPy 1.12.0 release

2017-01-18 Thread David Cournapeau
On Wed, Jan 18, 2017 at 11:43 AM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > The version of gcc used will make a large difference in some places. > E.g. the AVX2 integer ufuncs require something around 4.5 to work and in > general the optimization level of gcc has improved greatly

Re: [Numpy-discussion] NumPy 1.12.0 release

2017-01-18 Thread Nathaniel Smith
On Wed, Jan 18, 2017 at 3:43 AM, Julian Taylor wrote: > The version of gcc used will make a large difference in some places. > E.g. the AVX2 integer ufuncs require something around 4.5 to work and in > general the optimization level of gcc has improved greatly since

Re: [Numpy-discussion] NumPy 1.12.0 release

2017-01-18 Thread Neal Becker
Matthew Brett wrote: > On Tue, Jan 17, 2017 at 3:47 PM, Neal Becker wrote: >> Matthew Brett wrote: >> >>> Hi, >>> >>> On Tue, Jan 17, 2017 at 5:56 AM, Neal Becker >>> wrote: Charles R Harris wrote: > Hi All, > > I'm pleased to

Re: [Numpy-discussion] Question about numpy.random.choice with probabilties

2017-01-18 Thread josef . pktd
On Wed, Jan 18, 2017 at 4:52 AM, Nadav Har'El wrote: > > On Wed, Jan 18, 2017 at 11:00 AM, aleba...@gmail.com > wrote: > >> Let's look at what the user asked this function, and what it returns: >> >>> >>> User asks: please give me random pairs of the three

Re: [Numpy-discussion] Question about numpy.random.choice with probabilties

2017-01-18 Thread josef . pktd
On Wed, Jan 18, 2017 at 8:53 AM, wrote: > > > On Wed, Jan 18, 2017 at 4:52 AM, Nadav Har'El wrote: > >> >> On Wed, Jan 18, 2017 at 11:00 AM, aleba...@gmail.com >> wrote: >> >>> Let's look at what the user asked this function, and

Re: [Numpy-discussion] GSoC 2017: NumFocus will be an umbrella organization

2017-01-18 Thread Max Linke
On 01/18/2017 09:28 AM, Ralf Gommers wrote: Hi Max, On Tue, Jan 17, 2017 at 2:38 AM, Max Linke > wrote: Hi Organizations can start submitting applications for Google Summer of Code 2017 on January 19 (and the deadline is February 9)

Re: [Numpy-discussion] Question about numpy.random.choice with probabilties

2017-01-18 Thread Nadav Har'El
On Wed, Jan 18, 2017 at 4:30 PM, wrote: > > > Having more sampling schemes would be useful, but it's not possible to >> implement sampling schemes with impossible properties. >> >> > > BTW: sampling 3 out of 3 without replacement is even worse > > No matter what sampling