[Numpy-discussion] new numpy docs, missing function and parse error - dirichlet distribution

joep josef.pktd@gmail....
Thu May 22 11:51:25 CDT 2008



On May 22, 11:11 am, joep <josef.p...@gmail.com> wrote:
> Hi,

> When looking for this, I found that the Dirichlet distribution is
> missing from the new Docstring Wiki,http://sd-2116.dedibox.fr/doc/Docstrings/numpy/random

Actually, a search on the wiki finds dirichlet in
http://sd-2116.dedibox.fr/doc/Docstrings/numpy/random/mtrand/dirichlet

I found random/mtrand only through the search, it doesn't seem to be
linked from anywhere

Is it intentional that function that are imported inside numpy might
have the same docstring assigned to several different wiki pages, and
might get edited on different pages?

Since all distribution (except for dirichlet) are included in
numpy.random.__all__, these distribution show up on two different
pages, e.g.
http://sd-2116.dedibox.fr/doc/Docstrings/numpy/random/poisson
and
http://sd-2116.dedibox.fr/doc/Docstrings/numpy/random/mtrand/poisson


So except for the strange parsing of the dirichlet docstring, this is
a problem with numpy:

numpy.random.__all__ as defined in numpy/random/info.py does not
expose Dirichlet

Josef



More information about the Numpy-discussion mailing list