numpy - Python: Efficiently sample an n-dimensional distribution from density array -


i have n-dimensional distribution have estimated gauissian kernel density have stored n-dimensional array. need perform 2d kohonen map fitting underlying distribution.

the simplest way of doing in python found far use newc module neurolab.

however, module requires cloud or points , need sample n-dimensional array recover points correspond original density distribution.

what efficient way perform such sampling? alternatively, there kohonen map modules work directly density arrays?


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

how to receive file in java(servlet/jsp) -