Search found 1477 matches

by shooltz[BayesFusion]
Mon Aug 18, 2025 7:55 am
Forum: GeNIe
Topic: Reporting results of sensitivity analysis
Replies: 1
Views: 236845

Re: Reporting results of sensitivity analysis

Please note that cooer representing the sensitivity of the node in GeNIe's graphical view is based on the max sensitivity over all node's CPT entries. I'd go for the max as the quantitive value. A node does not have a single derivative, there's one for each probability in node's definition.
by shooltz[BayesFusion]
Wed Aug 13, 2025 8:47 pm
Forum: SMILE
Topic: Is there confidence interval for the parameter estimation?
Replies: 3
Views: 238310

Re: Is there confidence interval for the parameter estimation?

I also found that by default `model.get_rand_seed()` is 0. When it is zero, the inference result will change each time I run.
After using `model.set_rand_seed(seed)` to set a non-zero seed, the result for each run is consistent.

That is correct. Using the seed equal to zero will initialize the ...
by shooltz[BayesFusion]
Fri Aug 08, 2025 3:53 pm
Forum: SMILE
Topic: Is there confidence interval for the parameter estimation?
Replies: 3
Views: 238310

Re: Is there confidence interval for the parameter estimation?

(1) Why even though I set a specific seed, each time I print the posterior of target variable, it still has variability?

This should not happen, the pseudorandom generator is seeded from the value specified in network properties. If you can share your model, we can investigate this.

(2) During ...
by shooltz[BayesFusion]
Thu Jul 10, 2025 11:42 am
Forum: GeNIe
Topic: Data input and export
Replies: 1
Views: 1456753

Re: Data input and export

GeNIe does not have the command to show all posterior probabilities. There's a Bulk Update option which iterates over rows in the datafile and outputs probabilities; the output file can be easily loaded into Excel. You can also switch node view to barchart, which gives you instant visualization of ...
by shooltz[BayesFusion]
Thu Jul 03, 2025 1:10 pm
Forum: SMILE
Topic: Network size limitation of SMILE package
Replies: 3
Views: 1620332

Re: Network size limitation of SMILE package

To switch the inference algorithm to EPIS use set_bayesian_algorithm with pysmile.BayesianAlgorithmType.EPIS_SAMPLING:
net.set_bayesian_algorithm(pysmile.BayesianAlgorithmType.EPIS_SAMPLING)

Regarding explicit relevance targets in the network, here's the info from the wrappers manual
Network ...
by shooltz[BayesFusion]
Wed Jul 02, 2025 10:54 am
Forum: SMILE
Topic: Does SMILE support hybrid/mixed network (with both discrete and continuous variables) parameter learning/estimation?
Replies: 3
Views: 376430

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

The inference in fully continuous and hybrid networks works the same way. If there's no evidence for nodes with parents which do not have evidence, forward sampling is used (this includes the hybrid case).

If there's evidence in nodes which have parents without evidence, the network will be ...
by shooltz[BayesFusion]
Wed Jul 02, 2025 10:51 am
Forum: SMILE
Topic: How to do manipulation of a variable in the network
Replies: 3
Views: 376460

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

Network.set_controlled_value works just like set_evidence - you specify the node and the outcome. Calling this function is the equivalent of using 'Control Value' in GeNIe - in GeNIe the Control Value submenu has the entries for all node outcomes.
by shooltz[BayesFusion]
Wed Jul 02, 2025 10:50 am
Forum: SMILE
Topic: Network size limitation of SMILE package
Replies: 3
Views: 1620332

Re: Network size limitation of SMILE package

Error -42 is caused by insufficient memory in exact inference algorithm. This algorithm creates temporary data structure (the join tree), which can become very large, depending on the connections in the network.

You can switch to approximate sampling inference (EPIS), or set explicit targets in the ...
by shooltz[BayesFusion]
Tue Jul 01, 2025 1:08 pm
Forum: SMILE
Topic: Annotation in rSMILE
Replies: 5
Views: 333501

Re: Annotation in rSMILE

BTW, if you want to move this conversation into private space, email me or send me a forum PM.
by shooltz[BayesFusion]
Fri Jun 27, 2025 10:33 pm
Forum: SMILE
Topic: is there a way to output goodness-of-fit metric such as BIC, log likelihood score?
Replies: 3
Views: 477523

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

One more thing, we're now working on additional structure learning algorithms and there will be a way to calculate BIC for network+dataset directly.
by shooltz[BayesFusion]
Fri Jun 27, 2025 10:19 pm
Forum: SMILE
Topic: How to do manipulation of a variable in the network
Replies: 3
Views: 376460

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

Consider using Network.set_controlled_value. For more info on arc cutting/value control, please refer to GeNIe manual, chapter "Controlling values". In the PDF version of the manual, the chapter number is 6.2.8.
by shooltz[BayesFusion]
Wed Jun 25, 2025 3:42 pm
Forum: SMILE
Topic: is there a way to output goodness-of-fit metric such as BIC, log likelihood score?
Replies: 3
Views: 477523

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

BTW, you can use GeNIe to calculate loglikelihood for a dataset/network without learning. This functionality is not exposed in PySMILE, however.
by shooltz[BayesFusion]
Wed Jun 25, 2025 3:34 pm
Forum: SMILE
Topic: is there a way to output goodness-of-fit metric such as BIC, log likelihood score?
Replies: 3
Views: 477523

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

You can obtain the log likelihood after EM by calling the EM.get_last_score() method.

BayesianSearch.get_last_score() returns the Bayesian score after learning.

Currently there's no method to calculate BIC from the dataset and network without learning.
by shooltz[BayesFusion]
Wed Jun 18, 2025 10:39 am
Forum: SMILE
Topic: error message regarding /lib64/libm.so.6
Replies: 5
Views: 392873

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

Correct, the .so file from the .tar.gz archive is for the scenario where you do not use pip.