[Scipy-tickets] [SciPy] #1900: Distributions: restrictions on parameter values at a lower level

SciPy Trac scipy-tickets@scipy....
Wed Apr 24 10:35:11 CDT 2013


#1900: Distributions: restrictions on parameter values at a lower level
-------------------------+--------------------------------------------------
 Reporter:  Sytse        |       Owner:  somebody   
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  Unscheduled
Component:  Other        |     Version:  0.12.0     
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by josefpktd):

 I think inheritance of a default is fine if it applies to many cases,
 especially given the number of distributions that we have.

 If we want to change this, then we need a list of all parameters to see
 whether it is shorter or easier to specify the restriction in each
 distribution.

 We could also check whether a >= 0 isn't a better default.

 We would still need a generic check for distributions that don't have
 shape parameters, instead of adding empty _argcheck to each of those.
 stats.norm for example

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1900#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list