[SciPy-Dev] sparse rmatvec and maxentropy
josef.pktd at gmail.com
josef.pktd at gmail.com
Tue Jan 18 20:12:15 EST 2011
On Tue, Jan 18, 2011 at 8:05 PM, <josef.pktd at gmail.com> wrote:
> I don't know much about these two parts of scipy.
>
> Running an example for scipy.maxentropy raises an exception after
> upgrading to scipy trunk
>
> I didn't manage to find out with a Trac search whether rmatvec still exists.
>
> scipy.maxentropy maxentutils is still using it.
>
>
> Traceback (most recent call last):
> File "C:\Josef\eclipsegworkspace\statsmodels-josef-experimental-gsoc\scikits\statsmodels\sandbox\examples\example_maxent.py",
> line 29, in <module>
> model.fit(K[i])
> File "\Programs\Python25\Lib\site-packages\scipy\maxentropy\maxentropy.py",
> line 226, in fit
> File "\Programs\Python25\Lib\site-packages\scipy\optimize\optimize.py",
> line 636, in fmin_cg
> File "\Programs\Python25\Lib\site-packages\scipy\optimize\optimize.py",
> line 176, in function_wrapper
> File "\Programs\Python25\Lib\site-packages\scipy\maxentropy\maxentropy.py",
> line 420, in grad
> File "\Programs\Python25\Lib\site-packages\scipy\maxentropy\maxentropy.py",
> line 702, in expectations
> File "\Programs\Python25\Lib\site-packages\scipy\maxentropy\maxentropy.py",
> line 737, in pmf
> File "\Programs\Python25\Lib\site-packages\scipy\maxentropy\maxentropy.py",
> line 719, in logpmf
> File "\Programs\Python25\Lib\site-packages\scipy\maxentropy\maxentutils.py",
> line 381, in innerprodtranspose
> File "C:\Josef\_progs\Subversion\scipy_trunk_g09\dist\scipy-0.10.0.dev7027.win32\Programs\Python25\Lib\site-packages\scipy\sparse\base.py",
> line 384, in __getattr__
> raise AttributeError(attr + " not found")
> AttributeError: rmatvec not found
3 of the 4 examples in scipy/maxentropy/examples raise an exception. 2
of them with the rmatvec not found error. The other one doesn't find
scipy.sandbox
Josef
>
>
> Josef
>
More information about the SciPy-Dev
mailing list