Difference between revisions of "Defining Weather as a probability table"

 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
1. Double click ‘Weather’. On Description field type ‘Weather outcomes and probability’. Click expr, select probability table. Indexes window should appear.
+
[[Category: Definitions]]
 +
[[Category: Party Problem model]]
  
[[Image:Object weather.jpg]]
+
*Double click ‘Weather’ node.
 +
*On Description field type ‘Weather outcomes and probability’.
 +
*Open drop down list of expr, select probability table.
  
2. Click ‘ok’ button on the indexes table. Edit table window should appear.
+
:[[Image:Object weather.jpg]]
  
[[Image:Weather indexes.jpg]]
+
*Click ‘ok’ button on the indexes window.
 +
<small>Prob Edit table will appear indexed by self</small>
  
3. Click on the cell label ‘item 1’ type ‘Sunny’. Press enter. Second cell should appear.
+
:[[Image:Weather indexes.jpg]]
  
[[Image:Edit table weather1.1.jpg]]
+
*Click on the row header change ‘item 1’ to ‘Sunny’.
 +
*Press enter.
 +
<small>Second cell should appear</small>
  
4. Type ‘Rainy’ on the second cell. Press alt+enter.
+
:[[Image:Edit table weather1.1.jpg]]
  
[[Image:Edit table weather1.2.jpg]]
+
*Type ‘Rainy’ on the row header.
 +
*Press 'tab' key.
  
 +
:[[Image:Edit table weather1.2.jpg]]
  
5. Click on the first white cell, type 0.4. Click on the second cell, type 0.6. Click the check button.
+
*Click on the first cell, change 0 to 0.4.
 +
*Arrow down
 +
*Change the second cell from 0 to 0.6.
 +
*Click the check button.
  
[[Image:Edit table weather1.3.jpg]]
+
:[[Image:Edit table weather1.3.jpg]]
  
6. Click on the result button. A result window should come up. Click on the diagram button to return to diagram window.
+
*Click result button.
  
 +
'''Expected: Result table of Weather 'Rainy' should appear'''
  
[[Image:Result Weather.jpg]]
+
:[[Image:Result Weather.jpg]]
 +
 
 +
==See Also==
 +
* [[Creating the Party Problem model (based on chapter 6 of tutorial)]]
 +
* [[Tutorial: Decision trees]]

Latest revision as of 20:18, 28 April 2016


  • Double click ‘Weather’ node.
  • On Description field type ‘Weather outcomes and probability’.
  • Open drop down list of expr, select probability table.
Object weather.jpg
  • Click ‘ok’ button on the indexes window.

Prob Edit table will appear indexed by self

Weather indexes.jpg
  • Click on the row header change ‘item 1’ to ‘Sunny’.
  • Press enter.

Second cell should appear

Edit table weather1.1.jpg
  • Type ‘Rainy’ on the row header.
  • Press 'tab' key.
Edit table weather1.2.jpg
  • Click on the first cell, change 0 to 0.4.
  • Arrow down
  • Change the second cell from 0 to 0.6.
  • Click the check button.
Edit table weather1.3.jpg
  • Click result button.

Expected: Result table of Weather 'Rainy' should appear

Result Weather.jpg

See Also

Comments


You are not allowed to post comments.