how to turn internal names into API and freeze them forever
The scipy.stats.distributions allow now keyword access to the shape parameters. Before, the names of shape parameters where just part of the signature, but couldn't be used in code, only positional argument where possible. Now, users can actually use them in their code. hypergeom uses `M,n,N` where I usually need to read the description for several minutes to remember what they are. most distributions use one letter parameters: Since I just checked numpy.random.triangular uses `mode` scipy.triang just uses `c` Josef
Josef, Add your comment on good-bad-tot and wikipedia entry to the docstring maybe? Meanwhile, the named args have only been added in 0.13, which is still in beta. It might be not too late to change the names. Zh On Sun, Sep 22, 2013 at 12:32 PM, <josef.pktd@gmail.com> wrote:
The scipy.stats.distributions allow now keyword access to the shape parameters.
Before, the names of shape parameters where just part of the signature, but couldn't be used in code, only positional argument where possible.
Now, users can actually use them in their code.
hypergeom uses `M,n,N` where I usually need to read the description for several minutes to remember what they are.
most distributions use one letter parameters:
Since I just checked numpy.random.triangular uses `mode` scipy.triang just uses `c`
Josef _______________________________________________ SciPy-Dev mailing list SciPy-Dev@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-dev
participants (2)
-
Evgeni Burovski
-
josef.pktd@gmail.com