[Numpy-discussion] Condensing array...
Fred
fredmfp at gmail.com
Fri Feb 25 04:52:09 EST 2011
Le 25/02/2011 10:42, Gael Varoquaux a écrit :
> What exactly do you mean by 'decimating'. To me is seems that you are
> looking for matrix factorization or matrix completion techniques, which
> are trendy topics in machine learning currently.
By decimating, I mean this:
input array data.shape = (nx, ny, nz) -> data[::ax, ::ay, ::az], ie
output array data[::ax, ::ay, ::az].shape = (nx/ax, ny/ay, nz/az).
--
Fred
More information about the NumPy-Discussion
mailing list