Releases: Rapfff/jajapy
Releases · Rapfff/jajapy
v0.10.8 : Alergia and Active-BW rework
v0.10.7
A new verbose
parameter for BW.fit
The verbose parameter of BW.fit
can now take four different values:
- 0: nothing will be printed
- 1: the warnings only will be printed
- 2 (default): the warnings and the progress bar will be printed
- 3: the warnings, the progress bar and the small recap at the end of the learning will be printed
Consequently, the progress_bar
parameter added in v0.10.6 has been removed.
A small improvement for BW.fit
for GoHMM
As for the other models, if a state s of the current hypothesis does not play a role in the observed dynamics (training set) the update procedure leaves the distributions for s unchanged.
v0.10.6
v0.10.5
v0.10.4
v0.10.2
v0.10.1
v0.10: Parametric models and Prism compatibility
After several months of work, we proudly present you this new version of Jajapy.
This update brings two significant new features:
- an algorithm for PCTMC parameter estimation, and
- compatibility with Prism models.
PCTMCs
Jajapy supports now PCTMCs:
- PCTMCs can be created, loaded and saved.
- Jajapy PCTMCs can be translated as Stormpy sparse models.
- PCTMCs parameters can be estimated,
- PCTMCs can be learned, and
- PCTMCs can be synchronously composed, as well as CTMCs.
Prism
- Jajapy can now load Prism files using the
jajapy.loadPrism
function. - Jajapy model can now be exported into Prism file using the
Model.savePrism
method.
Miscellaneous
- There is only one
BW
class now. Use theBW.fit
method to learn any model. The method will recognise which formalism should be used from the initial hypothesis if given, and from the training set otherwise. - The BW output model can be saved in a Prism file directly. To do so, set the new
output_file_prism
parameter of theBW.fit
method. - GOHMM, being a special case of MGOHMM, has been removed.
- MGOHMM has been renamed to GoHMM.
- Saved model before this release may not be compatible with this new version.
- HMMs and GoHMMs are now created using the two functions
createHMM
andcreateGoHMM
. - The documentation has been remade.
v0.9: state labelled update
This is a major update for MCs, CTMCs and MDPs: these models are now state-labelled instead of transition-labelled.
This implies:
- New way to create models (the
MC_state
function has been replaced bycreateMC
, same for MDPs and CTMCs) - The embedding from Jajapy to Stormpy (and the other way around) is now straightforward.
- HMMs cannot be translated to Stormpy dtmc anymore (this will perhaps come back in a future release).
- The label "init" cannot be used in MCs, MDPs and CTMCs anymore.
This change comes with minor improvement:
- The more common errors are not handled properly.
- The documentation has been extended and contains now more examples.
- New unit tests
v0.8
- The
initial_model
parameter of theBW.fit()
method can be a stormpy sparse model (sparseDtmc
,sparseMdp
orsparseCtmc
). - We now use the beautiful alive-progress to print beautiful progress bars while Baum-Welch is running.
- Bug fixes.