Changes between Initial Version and Version 8 of Ticket #15711


Ignore:
Timestamp:
11/17/16 06:47:23 (6 years ago)
Author:
saraedum
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15711

    • Property Status changed from new to needs_review
    • Property Authors changed from to Mark Saaltink
    • Property Branch changed from to u/msaaltink/discretehiddenmarkovmodel_instances_do_not_unpickle_correctly
    • Property Milestone changed from sage-6.1 to sage-6.4
    • Property Commit changed from to aff5bba2bf8fa23788a48cdf84eb4c79f9d47505
  • Ticket #15711 – Description

    initial v8  
    33''As you can see in the following script, even though an unpickled instance claims to be equal to the original, it behaves differently. Worse, several of the functions (e.g., M2.transition_matrix()) throw exceptions, and an exception is thrown if you just try to print the object's value. ''
    44{{{
    5 sage: from sage.stats.hmm.hmm import DIscreteHiddenMarkovModel
     5sage: from sage.stats.hmm.hmm import DiscreteHiddenMarkovModel
    66sage: M = DiscreteHiddenMarkovModel([[1.0]], [[0.1, 0.9]], [1.0])
    77sage: import pickle