Fixing comments in Matlab simple functions

This commit is contained in:
Joseph Lizier 2024-07-29 11:18:38 +10:00
parent 8bbf778e46
commit 6dfaa901f3
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ function [result, jointSymbols, jointProbabilities, xSymbols, xProbabilities, yS
[H_XY, jointSymbols, jointProbabilities] = jointentropyempirical([xn, yn]);
% 2. marginal entropy of Y: (calling 'joint' in case yn is multivariate)
[H_Y, ySymbols, yProbabilities] = jointentropyempirical(yn);
% 3. marginal entropy of X: (calling 'joint' in case yn is multivariate)
% 3. marginal entropy of X: (calling 'joint' in case xn is multivariate)
[H_X, xSymbols, xProbabilities] = jointentropyempirical(xn);
result = H_X + H_Y - H_XY;

View File

@ -42,7 +42,7 @@ function result = mutualinformationempirical(xn,yn)
H_XY = ???; % How to compute this empirically ...?
% 2. marginal entropy of Y: (calling 'joint' in case yn is multivariate)
H_Y = ???;
% 3. marginal entropy of X: (calling 'joint' in case yn is multivariate)
% 3. marginal entropy of X: (calling 'joint' in case xn is multivariate)
H_X = ???;
result = H_X + H_Y - H_XY;