Search found 20 matches

by BayesFusionUser123
Tue Aug 12, 2025 6:47 pm
Forum: SMILE
Topic: Is there confidence interval for the parameter estimation?
Replies: 3
Views: 295412

Re: Is there confidence interval for the parameter estimation?

Thank you for your information for setting seed using network properties.

Before, I was setting seed using the following code, which does not work.

```
random.seed(seed)
np.random.seed(seed)
```

I tried just now using method `pysmile.Network.set_rand_seed`

```
model.set_rand_seed(seed)
```

I ...
by BayesFusionUser123
Thu Aug 07, 2025 8:29 pm
Forum: SMILE
Topic: Is there confidence interval for the parameter estimation?
Replies: 3
Views: 295412

Is there confidence interval for the parameter estimation?

Dear Community,

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

I am try SMILE package on our real-world dataset.

Since the real world dataset is too big. I have to use "pysmile.BayesianAlgorithmType.EPIS_SAMPLING" to produce inference ...
by BayesFusionUser123
Wed Jul 02, 2025 4:15 pm
Forum: SMILE
Topic: Network size limitation of SMILE package
Replies: 3
Views: 1648697

Re: Network size limitation of SMILE package

Hi,

"set explicit targets in the network if you're only interested in the subset of node probabilities"

print_posteriors() function is like below:

def print_posteriors(net, node_handle):
node_id = net.get_node_id(node_handle)
if net.is_evidence(node_handle):
print(f"{node_id} has evidence ...
by BayesFusionUser123
Tue Jul 01, 2025 8:01 pm
Forum: SMILE
Topic: Network size limitation of SMILE package
Replies: 3
Views: 1648697

Network size limitation of SMILE package

Dear Community,

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


I am trying SMILE package on our real-world dataset.

Our dataset has 1654 nodes, 2965 edges.
Among the 1654 nodes, there are 605 continuous variables and 1049 categorical ...
by BayesFusionUser123
Tue Jul 01, 2025 4:36 pm
Forum: SMILE
Topic: Does SMILE support hybrid/mixed network (with both discrete and continuous variables) parameter learning/estimation?
Replies: 3
Views: 404987

Re: Does SMILE support hybrid/mixed network (with both discrete and continuous variables) parameter learning/estimation?

Hi, I have a following up question:

Does SMILE support inference on hybrid network?
Suppose we learn the parameter in some other way. Can we encode the learned parameter in the hybrid network and then we do inference or manipulation of variables on it?

For instance, there is a case a discrete ...
by BayesFusionUser123
Mon Jun 30, 2025 7:42 pm
Forum: SMILE
Topic: How to do manipulation of a variable in the network
Replies: 3
Views: 406567

Re: How to do manipulation of a variable in the network

Thanks, I have read "GeNIe manual, chapter 'Controlling values'". it is clear to me now.

Can I ask a further question?
I search both GeNIe manual and Wrapper manual.
I did not find the document to introduce how to use the function `Network.set_controlled_value`.

Could you please instruct me ...
by BayesFusionUser123
Thu Jun 26, 2025 8:58 pm
Forum: SMILE
Topic: How to do manipulation of a variable in the network
Replies: 3
Views: 406567

How to do manipulation of a variable in the network

We want to use SMILE to do manipulation for a variable, and see how the manipulation can affect the target variable.

Here is a brief explanation of the difference between "observing" and "manipulation/intervening".

Given a graph B -> A, A -> T, B -> T.

In Tutorial 2, if we use function `change ...
by BayesFusionUser123
Tue Jun 24, 2025 9:31 pm
Forum: SMILE
Topic: is there a way to output goodness-of-fit metric such as BIC, log likelihood score?
Replies: 3
Views: 507614

is there a way to output goodness-of-fit metric such as BIC, log likelihood score?

Dear Support team,

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

Is there a way to output goodness-of-fit metric such as BIC, log likelihood score, given a predefined network structure and a dataset?

BIC score (Bayesian Information ...
by BayesFusionUser123
Thu Jun 19, 2025 7:08 pm
Forum: SMILE
Topic: Does SMILE support hybrid/mixed network (with both discrete and continuous variables) parameter learning/estimation?
Replies: 3
Views: 404987

Does SMILE support hybrid/mixed network (with both discrete and continuous variables) parameter learning/estimation?

Dear Support team,

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

I tried to simulate a hybrid network (with both discrete and continuous variables).

I first predefined a network structure and then simulated a dataset. I tried to use ...
by BayesFusionUser123
Tue Jun 17, 2025 10:21 pm
Forum: SMILE
Topic: Help needed for my example of simulating hybrid model (with categorical and continuous model) and parameter learning
Replies: 0
Views: 88400

Help needed for my example of simulating hybrid model (with categorical and continuous model) and parameter learning

Dear Community,

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

To simulate a dataset from a hybrid Bayesian network with both categorical and continuous variables, we need to:

Define the conditional probability tables (CPTs) for ...
by BayesFusionUser123
Tue Jun 17, 2025 7:35 pm
Forum: SMILE
Topic: error message regarding /lib64/libm.so.6
Replies: 5
Views: 417919

Re: error message regarding /lib64/libm.so.6

Thank you shooltz[BayesFusion].
I have installed and tested, and it looks good.

Just to confirm, after I installed the whl file using the command `pip install [whl file]`, the .so file automatically appears in my Python virtual environment package folder.
So, I do not need to do anything with ...
by BayesFusionUser123
Mon Jun 16, 2025 8:34 pm
Forum: SMILE
Topic: error message regarding /lib64/libm.so.6
Replies: 5
Views: 417919

Re: error message regarding /lib64/libm.so.6

Hi, here is the Linux information for the cluster, using command cat /etc/os-release :


NAME="Rocky Linux"
VERSION="8.10 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.10 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO ...
by BayesFusionUser123
Fri Jun 13, 2025 9:23 pm
Forum: SMILE
Topic: error message regarding /lib64/libm.so.6
Replies: 5
Views: 417919

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: 3
Views: 61319

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: 3
Views: 272745

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 ...