On Mon, Jul 08, 2013 at 07:56:28PM +0200, Olivier Grisel wrote:
> > Then you'd have pdf, logpdf, cdf, logcdf, sf, rvs (not wild about this
> > one, and I think we use sample in places), etc.

> I am not found of acronyms, especially when there not common at all
> such as `rvs`. I think RVS stands for Random Variable Samples but it's
> documented nowhere in the SciPy documentation. `sample` is a much more
> descriptive and intuitive method name (explicit is better that
> implicit.

> pdf, logpdf, cdf, logcdf are OK-ish names as those acronyms are very
> common. But `density`, `log_density`, `cumulative_density` and
> `log_cumulative_density` are even more explicit hence user-friendly
> IMHO.

+1. Scipy is not always the perfect model as far as API goes.

G

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to