#8547: implement hidden markov models in Cython from scratch (so can remove the
GHMM standard package from Sage)
---------------------------+------------------------------------------------
Reporter: was | Owner: amhou
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.4
Component: statistics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by boothby):
This patch touches matrix2.pyx which results in failures of a number of
doctests. Example:
{{{
sage -t devel/sage/sage/matrix/matrix2.pyx
**********************************************************************
File "/mnt/usb1/scratch/boothby/sage-4.3.4/devel/sage-
main/sage/matrix/matrix2.pyx", line 3142:
sage: A.restrict(W2, check=True)
Expected:
Traceback (most recent call last):
...
ArithmeticError: subspace is not invariant under matrix
Got:
Traceback (most recent call last):
File "/mnt/usb1/scratch/boothby/sage-4.3.4/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/mnt/usb1/scratch/boothby/sage-4.3.4/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/mnt/usb1/scratch/boothby/sage-4.3.4/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_48[10]>", line 1, in <module>
A.restrict(W2, check=True)###line 3142:
sage: A.restrict(W2, check=True)
File "matrix2.pyx", line 3167, in
sage.matrix.matrix2.Matrix.restrict (sage/matrix/matrix2.c:19470)
raise ArithmeticError, "subspace is not invariant under matrix
(%s)"%msg
ArithmeticError: subspace is not invariant under matrix (vector is not
in free module)
**********************************************************************
}}}
That should be easy to fix.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8547#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.