Skip to content

Commit 4224516

Browse files
authored
Update Prediction_error_example.m
1 parent 8e30a30 commit 4224516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Prediction_error_example.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@
105105
s2 = [.1 .9]'; % States under policy 2
106106

107107

108-
ambiguity_1 = dot(diag(A'*log(A)),s1); % Ambiguity under policy 1
108+
ambiguity_1 = -dot(diag(A'*log(A)),s1); % Ambiguity under policy 1
109109

110-
ambiguity_2 = dot(diag(A'*log(A)),s2); % Ambiguity under policy 2
110+
ambiguity_2 = -dot(diag(A'*log(A)),s2); % Ambiguity under policy 2
111111

112112
disp(' ');
113113
disp('Ambiguity Under Policy 1:');

0 commit comments

Comments
 (0)