Re: [Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-06 Thread Timothy Hochberg
On Thu, Mar 6, 2008 at 11:37 AM, Gregory, Matthew < [EMAIL PROTECTED]> wrote: > Eads, Damian wrote: > > You may need to be a bit more specific by what you mean by > > weighted majority. What are the range of values for values > > and weights, specifically? This sounds a lot like pixel > > classifi

Re: [Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-06 Thread Damian Eads
Hi Gregory, Gregory, Matthew wrote: > Eads, Damian wrote: >> You may need to be a bit more specific by what you mean by >> weighted majority. What are the range of values for values >> and weights, specifically? This sounds a lot like pixel >> classification where each pixel is classified with

Re: [Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-06 Thread Gregory, Matthew
Eads, Damian wrote: > You may need to be a bit more specific by what you mean by > weighted majority. What are the range of values for values > and weights, specifically? This sounds a lot like pixel > classification where each pixel is classified with a majority > vote over its weights and val

Re: [Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-05 Thread Damian Eads
Gregory, Matthew wrote: > Hi list, > > I'm a definite newbie to numpy, but finding the library to be incredibly > useful. > > I'm trying to calculate a weighted majority using numpy functions. I > have two sets of image stacks (one is values, the other weights) that I > read into 3D numpy arrays

[Numpy-discussion] calculating weighted majority using two 3D arrays

2008-03-05 Thread Gregory, Matthew
Hi list, I'm a definite newbie to numpy, but finding the library to be incredibly useful. I'm trying to calculate a weighted majority using numpy functions. I have two sets of image stacks (one is values, the other weights) that I read into 3D numpy arrays. Assuming I read in a 100 row x 100 co