Hello,
I am currently using the pySMILE wrapper to automate conducting inference on a rather large network. It has been necessary to use the "Control Value" function on several nodes. In the documentation, under DSL_beliefVector, there seem to be five related methods for controlling the value, clearing the controlled value, getting the controlled value, determining if the value is controlled, and determining if the node can be controlled.
However, it seems that pySMILE only has methods for controlling the value (set_controlled_value) and finding whether the node is controlled (is_controlled). Currently I am using clear_evidence to clear the controlled value and get_node_value to get the controlled value, which works.
It would be more intuitive though to have specific methods of clear_controlled_value and get_controlled_value- is this a planned feature for future releases?
Method for removing and getting controlled value in pySMILE
-
- Site Admin
- Posts: 1447
- Joined: Mon Nov 26, 2007 5:51 pm
Re: Method for removing and getting controlled value in pySMILE
get_controlled_value and get_controlled_value_id are implemented in PySMILE. The lack of clear_controlled_value is an omission and will be fixed in the next release.It would be more intuitive though to have specific methods of clear_controlled_value and get_controlled_value- is this a planned feature for future releases?
-
- Site Admin
- Posts: 67
- Joined: Mon Nov 06, 2017 6:41 pm
Re: Method for removing and getting controlled value in pySMILE
We have already implemented the appropriate methods to handle Controlled Value. If you give us the version of Python you are using, along with the OS (Windows/Linux/MacOS) and license type (Academic or Business) we will be able to share the binaries with you before the official distribution on our website and repository.