Skip to content

Releases: Rapfff/jajapy

v0.7.1

11 Oct 12:06
Compare
Choose a tag to compare

Minor bug fixes.

New parameters for BW.fit:

  • verbose, bool (default is True): Print or not a small recap at the end of the learning.
  • return_data, bool (default is False): If set to True, a dictionary containing the following values will be returned alongside the hypothesis once the learning is done. 'learning_rounds', 'learning_time', 'training_set_loglikelihood'.
  • stormpy_output, bool (default is True): If set to True the output model will be a Stormpy sparse model. (not available for GoHMMs and MGoHMMS).

BW.fit method can take a list or a numpy ndarray as a training set. It will be internally converted to a jajapy.Set.

v0.7

27 Sep 16:47
Compare
Choose a tag to compare
  • Model checking for shortest path properties on MDPs
  • BW_HMM improved
  • Small summary after learning
  • Can set max number of iterations while using BW
  • Documentation enhanced, addition of the "formal" page

v0.6 Model converter to stormpy

16 Sep 15:42
Compare
Choose a tag to compare

A new function jajapy.modeltoStorm converts any jajapy.HMM, jajapy.MC, jajapy.MDP and jajapy.MC to the corresponding model in stormpy. Notice that these models are trace-equivalent, but not similar: stormpy models have more states than jajapy models, since labels are on the states in stormpy while on the transitions in jajapy.

New examples have been added.

v0.5.1

14 Sep 09:20
Compare
Choose a tag to compare

Small correction for setup.py.
Now pip install works properly

Restructuring of models

13 Sep 11:28
Compare
Choose a tag to compare

All the models are now explicitly described with numpy array. It's a little bit worst from the memory perspective but it's a lot better in terms of running time.

The documentation have been updated and improved.

v0.4

09 Sep 09:21
Compare
Choose a tag to compare

A new way to create model states.
Now, to create a MC state with the two following transitions:

  • To state 1, observing 'a', with probability 0.6
  • To state 1, observing 'b', with probability 0.4

it's
MC_state([(1,'a',0.6),(1,'b',0.4)],0)
instead of
MC_state([0.6,0.4],[1,1],['a','b'],0)
0 being this state ID

v0.3

10 Jun 16:12
Compare
Choose a tag to compare

Units tests ✅
More examples in the documentation

v0.2

02 Jun 16:21
Compare
Choose a tag to compare

Documentation is here!

v0.1.1

01 Jun 13:47
9b2d8ad
Compare
Choose a tag to compare

First release.