Search found 71 matches

by jdtoellner
Mon Mar 12, 2018 11:28 pm
Forum: SMILE
Topic: SMILE.COM GetAllNodes
Replies: 3
Views: 3108

Re: SMILE.COM GetAllNodes

Here's another way to iterate over an array:

Code: Select all

Sub DisplayNodes()

	Dim Nodes As Variant
	Dim Node As Variant
	
	Range("A1").Select
	
	Nodes = Net.GetAllNodes()
	
	For Each Node in Nodes
	
		ActiveCell.Value = Node
		ActiveCell.Offset(1,0).Select
		
	Next Node
	
End Sub
by jdtoellner
Mon Mar 12, 2018 6:13 pm
Forum: SMILE
Topic: SMILE.COM GetAllNodes
Replies: 3
Views: 3108

Re: SMILE.COM GetAllNodes

I figured it out.

Code: Select all

Sub GetNodes()

	Dim Nodes As Variant
	
	Nodes = Net.GetAllNodes()

End Sub
This assumes you already had opened a network.

Code: Select all

Dim Net As SmileNetwork		'Has to be accessible to the function below

Set Net = New SmileNetwork

Net.ReadFile("Network.xdsl")
by jdtoellner
Sun Mar 11, 2018 5:01 pm
Forum: SMILE
Topic: SMILE.COM GetAllNodes
Replies: 3
Views: 3108

SMILE.COM GetAllNodes

Can you show me how the SMILE.COM GetAllNodes method works?
by jdtoellner
Tue Jan 30, 2018 4:06 am
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

This gives me the building blocks. Am I missing anything?

If not, I now need to create a real-life example.
by jdtoellner
Tue Jan 30, 2018 4:03 am
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

Here's one where chance nodes influence the utility nodes.
by jdtoellner
Tue Jan 30, 2018 3:56 am
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

Here's one with options, sub options, and sub-sub options; with criteria for each.
by jdtoellner
Tue Jan 30, 2018 3:38 am
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

Here's a model that contains non-independent criteria. I added MAU nodes that compute a weighted average.
by jdtoellner
Tue Jan 30, 2018 3:31 am
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

Here's a model that does weighted scoring.
by jdtoellner
Tue Jan 30, 2018 3:29 am
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

Here's a network that does simple scoring with utility nodes and a decision node. Weights are equal.
by jdtoellner
Wed Dec 27, 2017 10:49 pm
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Re: Decision Analysis

Something else you can do with a GeNie BBN: You may have non-independent criteria that you want to keep. With a BBN you can tier dependent criteria into a single child node so that they don't over-influence the outcome. One other point: The use of Noisy Adder nodes in the attached network doesn't ta...
by jdtoellner
Wed Dec 27, 2017 10:43 pm
Forum: GeNIe
Topic: Decision Analysis
Replies: 10
Views: 5753

Decision Analysis

The typical method for decision analysis is to define criteria with associated weights and then score alternatives. It's a very flawed technique. 1. Weights and scores characterize subjective assessments as discrete values. 2. If multiple criteria are not independent you end up inadvertently overwei...
by jdtoellner
Wed Dec 06, 2017 5:24 pm
Forum: SMILE
Topic: SMILE.COM for Continuous and hybrid models
Replies: 10
Views: 4849

Re: SMILE.COM for Continuous and hybrid models

While I look forward to your bugfix but I think I will use my approach where I create a special CPT node reflecting the sampled value of 'beta distribution' node. The discretizer node is a good approach bit I'd rather not have to set and clear evidence just to get discrete beliefs.
by jdtoellner
Wed Dec 06, 2017 1:05 am
Forum: SMILE
Topic: SMILE.COM for Continuous and hybrid models
Replies: 10
Views: 4849

Re: SMILE.COM for Continuous and hybrid models

Here's another version that takes mean and standard deviation as input rather than alpha and beta, which is more intuitive.
BetaDistribution.xlsm
(28.67 KiB) Downloaded 266 times
by jdtoellner
Tue Dec 05, 2017 6:14 pm
Forum: SMILE
Topic: SMILE.COM for Continuous and hybrid models
Replies: 10
Views: 4849

Re: SMILE.COM for Continuous and hybrid models

I set up a network with a discretizer node. I noticed that when I discretize the continuous node I can no longer get the mean and standard deviation. I want all three: Mean, standard deviation, and discretized beliefs. In order to do that I'd need to set then clear evidence for the discretizer node....
by jdtoellner
Tue Dec 05, 2017 2:39 pm
Forum: SMILE
Topic: SMILE.COM Hepar Excel Application
Replies: 1
Views: 1722

Re: SMILE.COM Hepar Excel Application

I found something interesting with this architecture, where Excel is used as a front end to smile. All the evidence for the Hepar network is stored in Excel worksheets. When you load a worksheet evidence is propagated into the network. The network serves as a template, which captures the logic for h...