[SciPy-User] speed of logpdf functions in scipy.stats
Brian Blais
bblais at gmail.com
Fri Mar 27 20:13:14 EDT 2015
On Fri, Mar 27, 2015 at 8:01 PM, <josef.pktd at gmail.com> wrote:
> On Fri, Mar 27, 2015 at 7:28 PM, Brian Blais <bblais at gmail.com> wrote:
> You can compare
> norm.logpdf(x,0,1)
> and
> norm._logpdf(x,0,1)
>
> to get an estimate on the overhead of the argument checking.
I thought there would be something like that. However, when I try
y=D.norm._logpdf(x,0,1)
I get an error: TypeError: _logpdf() takes exactly 2 arguments (4 given)
scipy version 0.15.1, anaconda distribution.
thanks,
bb
--
-----------------
bblais at gmail.com
http://web.bryant.edu/~bblais
More information about the SciPy-User
mailing list