Search found 1422 matches

by shooltz[BayesFusion]
Mon Jan 22, 2024 3:26 pm
Forum: GeNIe
Topic: Genie shuts down when I attempt to run a sensitivity analysis
Replies: 2
Views: 2635

Re: Genie shuts down when I attempt to run a sensitivity analysis

Crash confirmed, we're looking into it now.
by shooltz[BayesFusion]
Mon Jan 22, 2024 3:25 pm
Forum: SMILE
Topic: error with log likelihood during EM
Replies: 10
Views: 4584

Re: error with log likelihood during EM

The messages you're getting show that your data is inconsistent with the parameters in the network. You have a bunch of deterministic nodes, and you're trying to input an impossible combination of evidence from the data file.
by shooltz[BayesFusion]
Fri Jan 12, 2024 9:51 pm
Forum: SMILE
Topic: error with log likelihood during EM
Replies: 10
Views: 4584

Re: error with log likelihood during EM

In the em file I generated CPTs randomly If you don't have any initial probability distribution for your model, just use EM's internal randomization (call em.SetRandomizeParameters(true), and optionally fix the random seed for the initial parameters with em.SetSeed before SetRandomizeParameters). D...
by shooltz[BayesFusion]
Fri Jan 12, 2024 11:56 am
Forum: SMILE
Topic: error with log likelihood during EM
Replies: 10
Views: 4584

Re: error with log likelihood during EM

Your code will run fine when starting with ex7_TD2_10.xdsl. The log likelihood is around -990. If the model used is em_ex7_TD2_10_ED2_0.xdsl, the DSL_em::Learn will return DSL_ZERO_POTENTIAL, which is defined as -43. This is due to conflicting evidence in the dataset. Your code does not check for th...
by shooltz[BayesFusion]
Thu Jan 11, 2024 3:42 pm
Forum: SMILE
Topic: error with log likelihood during EM
Replies: 10
Views: 4584

Re: error with log likelihood during EM

We checked the log likelihood obtained after learning parameters with your files, and got values close to -1000 (in GeNIe and with a simple Python program.)

Maybe you did not create a proper matching between your network and data? Can you post your code fragment where you call EM?
by shooltz[BayesFusion]
Wed Jan 10, 2024 10:04 pm
Forum: SMILE
Topic: error with log likelihood during EM
Replies: 10
Views: 4584

Re: error with log likelihood during EM

Can you post your network and data file here, so we can reproduce the issue? Alternatively, send me a private message on the forum and attach the files (or provide a download link).
by shooltz[BayesFusion]
Wed Dec 13, 2023 5:58 pm
Forum: SMILE
Topic: Read File error for networks in Bayesfusion Repo
Replies: 6
Views: 3053

Re: Read File error for networks in Bayesfusion Repo

Please try again with the --upgrade --force-reinstall options:

Code: Select all

python3 -m pip install --upgrade --force-reinstall --index-url https://support.bayesfusion.com/pysmile-A/ pysmile
by shooltz[BayesFusion]
Tue Dec 12, 2023 3:37 pm
Forum: SMILE
Topic: SMILE 2.2 Released
Replies: 0
Views: 8566

SMILE 2.2 Released

SMILE 2.2 is now available. This version of the library supports new diagnosis algorithms. The libraries for C++, Python, Java, R and .NET can be downloaded from https://download.bayesfusion.com . We also maintain repositories for use with Maven and pip, see the download website for more details. Su...
by shooltz[BayesFusion]
Thu Nov 23, 2023 12:19 pm
Forum: SMILE
Topic: ValueError: vector::reserve
Replies: 2
Views: 2606

Re: ValueError: vector::reserve

The error is caused by C++ exception caught by code binding between core SMILE library and PySMILE. It's a memory issue. Are you running 32-bit or 64-bit Python?
by shooltz[BayesFusion]
Thu Nov 23, 2023 12:18 pm
Forum: GeNIe
Topic: strange pattern
Replies: 2
Views: 3101

Re: strange pattern

I use the Learn parametres function
The 'Learn parameters' command only learns parameters, and works on the model structure already present. Are you referring to the output from the PC structure learning algorithm?
by shooltz[BayesFusion]
Mon Oct 30, 2023 7:18 pm
Forum: GeNIe
Topic: max sensitivity Genie 2.4
Replies: 4
Views: 3425

Re: max sensitivity Genie 2.4

The min/max/avg are calculated over sensitivities of all parameters in node's CPT. The sensitivity algorithm calculates a separate sensitivity value for each of the CPT entry for each target state of each target node. You can view per-parameter sensitivities in the node properties/definition when se...
by shooltz[BayesFusion]
Wed Oct 25, 2023 6:15 pm
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4783

Re: Calculating values in Python and returning them to pySMILE

One more thing: if your calculate_stress function returns a list of values sampled from unknown distribution, then you can try to fit your samples to a metalog distribution. GeNIe/SMILE support Metalog since GeNIe version 4.0. To fit the data, use GeNIe's Tools|Metalog Builder window, or visit an on...
by shooltz[BayesFusion]
Wed Oct 25, 2023 2:54 pm
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4783

Re: Calculating values in Python and returning them to pySMILE

You can set node equation (as a string) with Network.set_node_equation. The actual formula depends on the type of the output from calculate_stress. To experiment with various node distributions using SMILE notation, you can use GeNIe's probability visualizer (available from the Tools menu), or go to...
by shooltz[BayesFusion]
Tue Oct 24, 2023 10:13 am
Forum: SMILE
Topic: Issues with PC, questions to continuous networks, and more
Replies: 3
Views: 2837

Re: Issues with PC, questions to continuous networks, and more

Re: item 3, we will add an option to avoid zeros in the learned parameters. We already have similar functionality in the hybrid inference sampling algorithm. The replacement value for zero will be 1/N, where N is the numbers of records in the dataset.
by shooltz[BayesFusion]
Thu Oct 19, 2023 1:25 pm
Forum: SMILE
Topic: Issues with PC, questions to continuous networks, and more
Replies: 3
Views: 2837

Re: Issues with PC, questions to continuous networks, and more

Thanks for the long and detailed post. We will try to provide answers to all your questions in multiple posts. 1. We have added an entry in our issue tracker re: missing maxSearchTime for the PC learning. This is a simple change, and we should be able to implement it before the upcoming SMILE releas...