Search found 8 matches

by MarcinK
Tue Sep 12, 2017 4:26 pm
Forum: SMILE
Topic: Entropy/Value of Information
Replies: 10
Views: 8584

Re: Entropy/Value of Information

Thanks a lot! It is very helpful!
by MarcinK
Mon Sep 11, 2017 6:36 pm
Forum: SMILE
Topic: Entropy/Value of Information
Replies: 10
Views: 8584

Re: Entropy/Value of Information

Thank you! Works like a charm! Some other questions (not urgent): If there are multiple targets (a variable and one of its outcomes) and I use the same code snippet, then only one is taken into account to calculate the statistics. Is it the one, that is more probable, i.e., that has the largest post...
by MarcinK
Mon Sep 11, 2017 5:26 pm
Forum: SMILE
Topic: Entropy/Value of Information
Replies: 10
Views: 8584

Re: Entropy/Value of Information

Code: Select all

Node count: 27
Avg indegree: 1.889
Max indegree: 2
Avg outcomes: 4.074
Max outcomes: 8

Nodes	27	110	1134 / 865	
Chance - General	27	110	1134 / 865	
Nodes by diagtype				
Target	1	2	2 / 1	
Observation	26	108	1132 / 864	
Arcs	51			
Edit: I just made a correction... It is the summary for the network
by MarcinK
Mon Sep 11, 2017 4:12 pm
Forum: SMILE
Topic: Entropy/Value of Information
Replies: 10
Views: 8584

Re: Entropy/Value of Information

It's been created with GeNIe (I am not the creator, just using it), parameters were relearned with SMILE using artificial data. It has target node (outcomes) checked in "General" tab of one of the nodes.
by MarcinK
Mon Sep 11, 2017 2:57 pm
Forum: SMILE
Topic: Entropy/Value of Information
Replies: 10
Views: 8584

Re: Entropy/Value of Information

Here is the code that I was experimenting with: DIAG_network diagForVOI; diagForVOI.LinkToNetwork(&workingNet); DSL_intArray testsNodes; for(int handle : targets) testsNodes.Add(handle); diagForVOI.SetPursuedFaults(testsNodes); diagForVOI.UpdateFaultBeliefs(); //diagForVOI.ComputeTestStrengths()...
by MarcinK
Fri Sep 08, 2017 8:53 pm
Forum: SMILE
Topic: Entropy/Value of Information
Replies: 10
Views: 8584

Entropy/Value of Information

Hello, I would like to get the entropy for all unobserved observable variables in the Bayesian network with given target node(s) (like in Test View in GeNIe). As far as I investigated the header files, it could be obtained from DIAG_network class using DIAG_testInfo structure. GetTestStatistics() re...
by MarcinK
Thu Apr 02, 2015 1:30 am
Forum: SMILE
Topic: jSmile - learning network from multiple DataSet objects
Replies: 6
Views: 9860

Re: jSmile - learning network from multiple DataSet objects

Hi, I have several records from each day and I'm trying to learn a network from the past seven days of data. The goal is to perform inference on the 8-th day. However, every day the training window advances by one day. I don't want to recreate the DataSet object from scratch every time the training...
by MarcinK
Thu Feb 05, 2015 2:59 am
Forum: GeNIe
Topic: Runtime Error of create structure with PC
Replies: 9
Views: 7281

Re: Runtime Error of create structure with PC

Hello, Indeed, there is a crash after attempt to get the structure after applying PC algorithm. I would like to point out that the data contain variables with many possible states (up to 11). What does it mean? When there are a lot of in-arcs in a one of nodes, then this node will have huge conditio...