<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/unbbayes/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/unbbayes/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/unbbayes/support-requests/</id><updated>2019-09-24T22:52:35.819000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>#5 Migrate MediaWiki</title><link href="https://sourceforge.net/p/unbbayes/support-requests/5/?limit=25#2040" rel="alternate"/><published>2019-09-24T22:52:35.819000Z</published><updated>2019-09-24T22:52:35.819000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.net44fd7017face396621a5772fe1caa1f6bacfb2f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0_(example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#8 Unbbayes non-start on Windows 10</title><link href="https://sourceforge.net/p/unbbayes/support-requests/8/?limit=25#93d2/3c85" rel="alternate"/><published>2017-12-04T21:24:03.131000Z</published><updated>2017-12-04T21:24:03.131000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.netc1caadf7cf80a8b36ab8ec68772a6c139652513d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The easiest way to check if you have properly installed java is to run the following command in your command prompt (i.e. cmd):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;java -version&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If it prints out the java version, then you have Java properly installed. If it prints some error message, then there is something wrong with your installation (I suggest you to reinstall).&lt;/p&gt;
&lt;p&gt;Sincerely.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#8 Unbbayes non-start on Windows 10</title><link href="https://sourceforge.net/p/unbbayes/support-requests/8/?limit=25#93d2" rel="alternate"/><published>2017-12-04T21:19:39.571000Z</published><updated>2017-12-04T21:19:39.571000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.net191236d1d96caab356a4fa71ad351c443d7ab8ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I confirmed that UnBBayes 4.22.18 and MEBN plugins are running fine in Windows 10. &lt;br/&gt;
I suspect the issue may be somewhere in your environment.&lt;/p&gt;
&lt;p&gt;From your screenshot, I noticed that your default program for handling JAR (java archive) files is 8Zip, instead of Oracle's default java runtime environment (JRE). &lt;br/&gt;
This may indicate that you don't have java installed in your computer.&lt;/p&gt;
&lt;p&gt;UnBBayes is a java program, so you need to have java installed in your computer.&lt;br/&gt;
Please, download JRE (I suggest JRE version 8) from oracle's download page: &lt;a href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html" rel="nofollow"&gt;http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unbbayes non-start on Windows 10</title><link href="https://sourceforge.net/p/unbbayes/support-requests/8/" rel="alternate"/><published>2017-12-04T11:27:20Z</published><updated>2017-12-04T11:27:20Z</updated><author><name>Steven Cuvelier</name><uri>https://sourceforge.net/u/drcuv/</uri></author><id>https://sourceforge.netb6d9231e30e5bf55d1440a20fc3585ee12a4129f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have just downloaded UnBBayes 4.22.18 and added the prs.mebin-1.14.13 plugin and the BIFIO folders in the plugins folder.  When I double-click on the unbbayes windows batch file there is an outline of a window opening but then it disappears.  &lt;/p&gt;
&lt;p&gt;I am running Windows 10 with a fresh java download.&lt;/p&gt;
&lt;p&gt;How do I get the program to run?  I am attaching an image of the main  unbbayes-4.22.18 folder.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 calculation of joint probability</title><link href="https://sourceforge.net/p/unbbayes/support-requests/7/?limit=50#ef28/6b67" rel="alternate"/><published>2014-07-24T22:10:12.560000Z</published><updated>2014-07-24T22:10:12.560000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.netcaf4114fcffc97ebba9b2c18333c84573c211a2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, Giannis;&lt;/p&gt;
&lt;p&gt;If I'm not wrong, calling the method JunctionTreeAlgorithm#run() in the object you instantiated should re-build the junction tree -- of the network you've set with JunctionTreeAlgorithm#setNet(ProbabilisticNetwork) -- for you. &lt;/p&gt;
&lt;p&gt;Of course, I'm assuming the JunctionTreeAlgorithm and all objects aggregated to/with it were correctly instantiated. &lt;br /&gt;
Normally some exception should be thrown if there is some requirement not properly settled at this point (I can't imagine in advance what kind of problems may happen to you, because honestly I'm not sure how you've instantiated the 1st junction tree -- to obtain the joint probability before changes in CPT -- at all). You can try and see what happens.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 calculation of joint probability</title><link href="https://sourceforge.net/p/unbbayes/support-requests/7/?limit=25#ef28" rel="alternate"/><published>2014-07-24T08:42:30.214000Z</published><updated>2014-07-24T08:42:30.214000Z</updated><author><name>GiannisCh</name><uri>https://sourceforge.net/u/gchant/</uri></author><id>https://sourceforge.net45d2debbc5ce05ef6b13ff18f53451c18edce311</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi cardialfly,&lt;/p&gt;
&lt;p&gt;Thank you for your prompt reply!&lt;br /&gt;
Can you please explain how can I recompile the junction tree?&lt;br /&gt;
What I am doing at the beggining of each CPT update iteration is (before the update) to create a new JunctionTreeAlgorithm object (.. = new JunctionTreeAlgorithm() ) and then use the SetNet method to the CPT updated network.&lt;/p&gt;
&lt;p&gt;Is there a specific method that I have to also call?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 calculation of joint probability</title><link href="https://sourceforge.net/p/unbbayes/support-requests/7/?limit=50#faca/b7ad" rel="alternate"/><published>2014-07-23T17:04:11.960000Z</published><updated>2014-07-23T17:04:11.960000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.nete0661c0996cdecb029cea97317ae2483f6f340a4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, Giannis.&lt;/p&gt;
&lt;p&gt;Could you make sure you recompiled the network (i.e. call the method in JunctionTreeAlgorithm which you supposedly used to compile the junction tree the first time)? The joint probability is calculated from a junction tree, which may have been built/compiled from the old network (i.e. the one before your change).&lt;/p&gt;
&lt;p&gt;In UnBBayes (not only in it, though), Bayes nets and junction trees are different entities (they are like different structures trying to represent equivalent prob. distribution), so updating the CPT (a component in Bayes net) won't update the content of the junction tree unless you manually synchronize them.&lt;/p&gt;
&lt;p&gt;Recompiling the junction tree forces such synchronization, or should I say it simply creates a new junction tree from the updated Bayes net.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 calculation of joint probability</title><link href="https://sourceforge.net/p/unbbayes/support-requests/7/?limit=25#faca" rel="alternate"/><published>2014-07-23T11:30:42.013000Z</published><updated>2014-07-23T11:30:42.013000Z</updated><author><name>GiannisCh</name><uri>https://sourceforge.net/u/gchant/</uri></author><id>https://sourceforge.neta6f2a0b435fa99debf3c9c8ca3a35aa58456d701</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have a problem regarding the computation of the joint probability of nodes. Specifically, although the JunctionTreeAlgorithm provides the joint probabilities at a first step, at a second step after I change the CPTs (through the getProbabilityFunction method of the ProbabilisticNode class and using the setup provided in the above code), and recalcuate the joint probabilities, they remain the same.&lt;/p&gt;
&lt;p&gt;I am not sure what I am doing wrong. Do I miss something crucial regarding the junction tree algorithm class.&lt;/p&gt;
&lt;p&gt;Thank you for your help,&lt;/p&gt;
&lt;p&gt;Giannis&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 calculation of joint probability</title><link href="https://sourceforge.net/p/unbbayes/support-requests/7/?limit=25#01f9" rel="alternate"/><published>2013-09-11T17:18:53.374000Z</published><updated>2013-09-11T17:18:53.374000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.netd136fe280c57d99276133d5c95000c5357b70472</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;My apologies for the late reply.&lt;/p&gt;
&lt;p&gt;I guess the getJointProbability is returning the joint probability of the nodes you specify in the arguments plus the evidences you inserted, so the last joint probability, for example, seems to be the joint probability of nodes 5 (evidence), 13, and 15 together...&lt;/p&gt;
&lt;p&gt;I'll see if I can fix this issue quickly.&lt;/p&gt;
&lt;p&gt;While the problem is not fixed, you may try using a workaround instead, which is to absorb the node with evidence, by deleting it:&lt;br /&gt;
ProbabilisticNetwork#removeNode(Node, boolean);&lt;/p&gt;
&lt;p&gt;In your code, it would be something like:&lt;br /&gt;
net.removeNode(node5, true);&lt;/p&gt;
&lt;p&gt;One issue I foresee in absorbing a node is that the node won't exist anymore; so, you may find strange issues while resetting evidences, for example.&lt;/p&gt;
&lt;p&gt;Apologies for all the inconvenience.&lt;br /&gt;
Sincerely.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 calculation of joint probability</title><link href="https://sourceforge.net/p/unbbayes/support-requests/7/?limit=25#9851" rel="alternate"/><published>2013-09-05T01:37:43.381000Z</published><updated>2013-09-05T01:37:43.381000Z</updated><author><name>cardialfly</name><uri>https://sourceforge.net/u/cardialfly/</uri></author><id>https://sourceforge.net607252e1de300b282e483a0b066e84b507bc4e28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, Vincenzo. Thanks for your attention on UnBBayes.&lt;/p&gt;
&lt;p&gt;I'm starting to suspect that your issue is actually a rounding/precision problem of Java's floating point numbers. If so, I'm not sure if the effort of fixing it would worth the result.&lt;/p&gt;
&lt;p&gt;UnBBayes does not assume that findings (evidences) comes from only 1 source/node. Therefore, when you propagate an evidence, it will attempt to settle global consistency of all cliques anyway (so, when you insert an evidence on a node and propagate, UnBBayes will check global consistency of other nodes regardless of being connected or not).&lt;/p&gt;
&lt;p&gt;At that point (settling global consistency), UnBBayes multiplies clique potentials and then divide by separator potentials. Virtually, it does X = X*Y/Z in lots of places. &lt;/p&gt;
&lt;p&gt;We know that X*Y/Z is mathematically equal to X if Y=Z (in this case, the value of X will remain unchanged), but in floating point operations, X*Y/Z may give slightly different results because of precision, especially if values are not multiple of 2, or when the order of operations may change, or due to lots of other possible sources of imprecision - because the inputs are not precisely the same for the system as a whole, if you insert an evidence somewhere.&lt;/p&gt;
&lt;p&gt;When I ran your example (which I got from Rommel), I realized that when you propagated the evidence of node 5, the state 0 of node 13 changed from 0.68746004 to 0.68746006, and the state 0 of node 11 changed from 1.0 to 1.0000001 (OK, this may give some problems for applications calling UnBBayes). This really sounds to me like a precision problem, especially in UnBBayes, which was originally created as a GUI-based application whose the GUI only used (and still uses) 4 significant digits.&lt;/p&gt;
&lt;p&gt;So, I'm afraid I have to ask you to deal with it (perhaps by using Math.round(), or simply accepting the "floating" precision)... Most of UnBBayes applications ran OK with this level of precision actually (this level of difference did not make differences in decisions, because I suppose Bayes nets don't encode model credibility anyway).&lt;/p&gt;
&lt;p&gt;My apologies for any inconvenience, and pardon-me in case this wasn't helpful at all.&lt;/p&gt;
&lt;p&gt;My best regards.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>