$3,000
$2,562.55
$3,000
-$1,000
-$15,000
0.10
-$5,000
0.30
$10,000
0.60
-$1,000
0.00
-$2,000
0.00
$9,000
0.00
-$2,000
0.00
-$2,000
0.00
-$16,000
0.00
-$6,000
0.00
$9,000
0.00
-$2,000
0.00
-$2,000
0.00
-$2,000
0.00
-$16,000
0.00
-$6,000
0.00
$9,000
0.00
-$2,000
0.00
-$2,000
0.00
-$2,000
0.00
-$16,000
0.00
-$6,000
0.00
$6,655
-$2,000
-$995
-$2,000
-$2,000
-$4,940
-$995
$6,655
-$1,000
0.00
-$1,000
0.00
-$2,000
$3,000
noweatherreport
$0 0.00
notsetup
$0 0.00
w=r
-$1,000 0.10
w=c
-$1,000 0.30
w=s
-$1,000 0.60
f=r
$0 0.19
f=c
$0 0.32
f=s
$0 0.49
setup
$0 0.00
notsetup
$0 1.00
setup
$0 1.00
notsetup
$0 0.00
setup
$0 1.00
notsetup
$0 0.00
w=r
-$16,000 0.368
w=c
-$6,000 0.316
w=s
$9,000 0.316
w=r
-$2,000 0.368
w=c
-$2,000 0.316
w=s
-$2,000 0.316
w=r
-$16,000 0.062
w=c
-$6,000 0.563
w=s
$9,000 0.375
w=r
-$2,000 0.062
w=c
-$2,000 0.563
w=s
-$2,000 0.375
w=r
-$16,000 0.02
w=c
-$6,000 0.123
w=s
$9,000 0.857
w=r
-$2,000 0.02
w=c
-$2,000 0.123
w=s
-$2,000 0.857
weatherreport
$0 1.00
setup
$0 1.00
w=r
-$15,000 0.10
w=c
-$5,000 0.30
w=s
$10,000 0.60
Problem3:CarnivalExampleDecisionTree
Problem 4:Full decision tree
Problem 4:Result after solving the decision tree with average-out and fold-back algorithm