refactoring and upgrade victims

1 view
Skip to first unread message

josef...@gmail.com

unread,
Jan 18, 2011, 6:41:03 PM1/18/11
to pystat...@googlegroups.com
I am fixed exceptions in example code for large parts of the sandbox.

an upgrade problem with scipy 0.9 no more rmatvec. Since I'm not
familiar with this part, what is the recommended fix?.
It looks like the bug is actually in scipy.maxent

I can look at it a bit later if nobody beats me to 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

Josef

Reply all
Reply to author
Forward
0 new messages