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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -