Search found 8 matches

by BayesFusionUser123
Fri Jun 13, 2025 9:23 pm
Forum: SMILE
Topic: error message regarding /lib64/libm.so.6
Replies: 0
Views: 272

error message regarding /lib64/libm.so.6

I am using the 2.4.0 version of pysmile.


Name: pysmile Version: 2.4.0
Summary: BayesFusion's SMILE wrapper
Home-page: [https://bayesfusion.com/](https://bayesfusion.com/)
Author: BayesFusion LLC Author-email: support@bayesfusion.com


In my local machine, my Linux is cutting edge, and there ...
by BayesFusionUser123
Fri Jun 13, 2025 8:55 pm
Forum: SMILE
Topic: Help needed for my example of simulate continuous model and parameter learning. Parameter learning wrong.
Replies: 2
Views: 577

Re: Help needed for my example of simulate continuous model and parameter learning. Parameter learning wrong.


cont_net = pysmile.Network()

# Here the node is not added in order ABCD, but CABD
C = create_cont_node(cont_net, "C", "C", 10, 40)
A = create_cont_node(cont_net, "A", "A", 10, 20)
B = create_cont_node(cont_net, "B", "B", 10, 30)
D = create_cont_node(cont_net, "D", "D", 10, 50)

cont_net.add_arc(C ...
by BayesFusionUser123
Fri Jun 13, 2025 8:41 pm
Forum: SMILE
Topic: My example of simulating categorical model and parameter learning
Replies: 2
Views: 543

Re: My example of simulating categorical model and parameter learning

Let us discuss this section of the code below:


em = pysmile.learning.EM()

try:
matching = cate_ds.match_network(cate_net)
except pysmile.SMILEException:
print("Can't automatically match network with dataset")
#endtry

em.set_uniformize_parameters(False)
em.set_randomize_parameters(False)
em ...
by BayesFusionUser123
Fri Jun 13, 2025 8:24 pm
Forum: SMILE
Topic: how default probability number in the network with only categorical variable is set?
Replies: 2
Views: 634

Re: how default probability number in the network with only categorical variable is set?

Currently I am just learning how to use the package. My final goal is to use it for real-world project.

In a real-world project, we want to first use our own causal discovery algorithm to generate the skeleton of the network (like the PC algorithm outputs the skeleton of the network), then we want ...
by BayesFusionUser123
Thu Jun 12, 2025 8:28 pm
Forum: SMILE
Topic: Help needed for my example of simulate continuous model and parameter learning. Parameter learning wrong.
Replies: 2
Views: 577

Help needed for my example of simulate continuous model and parameter learning. Parameter learning wrong.

Dear Community,

I am following the PDF version of the tutorial for SMILE wrappers, specifically for the Python language.

I tried to simulate a network with continuous variables only.

1. In this sample code, I first simulate a dataset based on a predefined formula as follows:

C = Normal(0, 1 ...
by BayesFusionUser123
Thu Jun 12, 2025 8:02 pm
Forum: SMILE
Topic: My example of simulating categorical model and parameter learning
Replies: 2
Views: 543

My example of simulating categorical model and parameter learning

Dear Community,

I am following the PDF version of the tutorial for SMILE wrappers, specifically for the Python language.

I tried to simulate a network with categorical variables only.

Simulate categorical variables A, B, C, D with the following Bayesian network dependencies:

* C -> A
* A -> D ...
by BayesFusionUser123
Thu Jun 12, 2025 3:28 am
Forum: SMILE
Topic: how default probability number in the network with only categorical variable is set?
Replies: 2
Views: 634

how default probability number in the network with only categorical variable is set?

Dear Community,

I am following the PDF version of the tutorial for SMILE wrappers, specifically for python language.

I am doing the following experiment to learn more about SMILE package.

(1)

I defined a network using only categorical variables in the following Python code:

```
cate_net ...
by BayesFusionUser123
Thu Jun 12, 2025 3:03 am
Forum: SMILE
Topic: question regarding the multidimensional arrays represented as flat array
Replies: 1
Views: 607

question regarding the multidimensional arrays represented as flat array

Dear Community,

I am following the PDF version of the tutorial for SMILE wrappers, specifically for the Python language.

In Tutorial 1, after adding arcs, it redirected to a tutorial "Multidimensional arrays". In this section, how to understand the following statement? It says " The order of the ...