I added testing features, dependencies and the modified postparse function in the form:
IF antecedents THEN P(X is A)=number, P(X is B)=another number, …
In the corresponding unit test it is observable that the output of the old rules remained unchanged and the function gives back a tuple for the new (probabilistic) rules.
In detail, the following other changes were made:
Added a gitignore file to ignore useless python files which are created when running code
Added python-package.yml file which will automate testing when you push to github master
added a badge in the readme file
added 2 dependencies to setup.py (pylab and requests)
modified rule parsing and added corresponding tests
Hi Marco,
I added testing features, dependencies and the modified postparse function in the form:
IF antecedents THEN P(X is A)=number, P(X is B)=another number, …
In the corresponding unit test it is observable that the output of the old rules remained unchanged and the function gives back a tuple for the new (probabilistic) rules.
In detail, the following other changes were made: