Search found 69 matches
- Tue Jul 01, 2025 7:03 am
- Forum: SMILE
- Topic: Annotation in rSMILE
- Replies: 3
- Views: 31
Re: Annotation in rSMILE
Could you share rest of that code and version of R and rSMILE? This method should work seamlessly.
- Mon Jun 30, 2025 8:12 am
- Forum: SMILE
- Topic: Annotation in rSMILE
- Replies: 3
- Views: 31
Re: Annotation in rSMILE
rSMILE provides the setNodeDescription method. It allows you to associate any text with a selected node in the network.
net$setNodeDescription("NodeId", "This text will be associated with node NodeId.")
You can get value by calling:
desc <- net$getNodeDescription("NodeId")
net$setNodeDescription("NodeId", "This text will be associated with node NodeId.")
You can get value by calling:
desc <- net$getNodeDescription("NodeId")
- Thu Apr 10, 2025 2:01 pm
- Forum: SMILE
- Topic: Method for removing and getting controlled value in pySMILE
- Replies: 2
- Views: 212979
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 ...
- Thu Mar 27, 2025 9:34 am
- Forum: GeNIe
- Topic: Arrow colour
- Replies: 4
- Views: 34576
Re: Arrow colour
It is possible in Tools -> Options Menu.
Then, you have to uncheck "Dim unnecessary arcs" checkbox.
Then, you have to uncheck "Dim unnecessary arcs" checkbox.
- Wed Mar 26, 2025 10:12 am
- Forum: GeNIe
- Topic: Arrow colour
- Replies: 4
- Views: 34576
Re: Arrow colour
The light grey colour of the arcs indicates that Node1 and Node2 do not affect Node3. When you change the definition of Node3, the colour of the arcs should be as you set in the properties.
- Tue Mar 18, 2025 8:59 am
- Forum: SMILE
- Topic: Defining distribution parameters externally then creating the BN
- Replies: 1
- Views: 54966
Re: Defining distribution parameters externally then creating the BN
At the moment there is no dedicated function to update part of the equation of the node definition. You can write a function in Python to which you pass the list of parameters you want to include in the CustomPDF function and the name of the node, and which will return its definition.
import ...
import ...
- Tue Aug 13, 2024 9:58 am
- Forum: SMILE
- Topic: PySmile: Compatibiltiy with Pylint?
- Replies: 4
- Views: 43091
Re: PySmile: Compatibiltiy with Pylint?
It turned out that the fault lies with PySMILE installed by pip. When installing wheel in the modules directory (site-packages), PySMILE leaves an unnecessary __init__.py file. It has the same modification date as pysmile.pyd on Windows and pysmile.so on Linux.
It is safe to remove it manually ...
It is safe to remove it manually ...
- Thu Aug 01, 2024 2:43 pm
- Forum: SMILE
- Topic: PySmile: Compatibiltiy with Pylint?
- Replies: 4
- Views: 43091
Re: PySmile: Compatibiltiy with Pylint?
The problem found is not caused directly by Pylint - this one is compatible with the code in which there are PySMILE objects.
A series of errors - No module named '_pysmile' suggests that our library is imported as an alias - can you share the code and write more about the CI tools you use to ...
A series of errors - No module named '_pysmile' suggests that our library is imported as an alias - can you share the code and write more about the CI tools you use to ...
- Tue Apr 02, 2024 8:53 am
- Forum: SMILE
- Topic: rSMILE acces to Node States
- Replies: 2
- Views: 33341
Re: rSMILE acces to Node States
The methods you are looking for are:
How the definition and states are related is described in the SMILE and Wrappers documentation:
https://support.bayesfusion.com/docs/
Code: Select all
net$getOutcomeIds(nodeId)
net$getOutcomeId(nodeId, index)
https://support.bayesfusion.com/docs/
- Tue Feb 20, 2024 1:20 pm
- Forum: SMILE
- Topic: Problem installing pysmile: message error
- Replies: 3
- Views: 37165
Re: Problem installing pysmile: message error
Can I ask you for the full command with which you are trying to install PySMILE? There is a PySMILE compatible with Python 3.9 under Windows in our repository.
- Thu Dec 21, 2023 1:00 pm
- Forum: SMILE
- Topic: Read File error for networks in Bayesfusion Repo
- Replies: 6
- Views: 51044
Re: Read File error for networks in Bayesfusion Repo
It looks like you are using Python version 3.7, which is no longer updated and does not get security patches - https://www.python.org/downloads/release/python-3717/
PySMILE version 2.X (which supports the latest changes) is available under Python 3.8 or higher.
PySMILE version 2.X (which supports the latest changes) is available under Python 3.8 or higher.
- Tue Dec 12, 2023 9:57 am
- Forum: SMILE
- Topic: Read File error for networks in Bayesfusion Repo
- Replies: 6
- Views: 51044
Re: Read File error for networks in Bayesfusion Repo
Which version of PySMILE are you using? Hepar II from our repository has nodes with defined intervals - latest version of PySMILE is required.
- Tue Oct 24, 2023 10:56 am
- Forum: SMILE
- Topic: Enable diagnosis for nodes using pysmile wrapper
- Replies: 5
- Views: 59831
Re: Enable diagnosis for nodes using pysmile wrapper
When you operate on the DiagNetwork object, you should use the instantiate_observation method, instead of set_evidence. After creating a DiagNetwork object based on Network, add a loop similar to the one you pasted at the beginning of the code snippet (changing net.set_evidence to diag_net ...
- Thu Oct 19, 2023 2:03 pm
- Forum: SMILE
- Topic: Issues with PC, questions to continuous networks, and more
- Replies: 3
- Views: 46850
Re: Issues with PC, questions to continuous networks, and more
4. When trying to set discretisation intervals for continuous variables using the smile interface, I noticed that there is no way to set 'infinity' as an upper bound. The parameter requires a float value, whereas in Genie we can type inf/-inf. in the definition of a node.
In PySMILE, you can set ...
In PySMILE, you can set ...
- Wed Aug 16, 2023 1:11 pm
- Forum: SMILE
- Topic: Problem installing pysmile in a conda environment
- Replies: 1
- Views: 33936
Re: Problem installing pysmile in a conda environment
Can you check the Python version in your Conda environment?
PySMILE is not currently compatible with Python 3.11 - an update is on the way and will be available soon.
Code: Select all
python --version