Home > freetb4matlab > info-theory > conditionalentropy_YX.m

conditionalentropy_YX

PURPOSE ^

%

SYNOPSIS ^

function val=conditionalentropy_YX(XY)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} conditionalentropy_YX (@var{xy}) 
%
% Computes the
% @iftex
% @tex
% $H(\frac{Y}{X}) = \sum_i{P(X_i) H(\frac{Y}{X_i})$, where
% $H(\frac{Y}{X_i}) = \sum_k{-P(\frac{Y_k}{X_i}) \log(P(\frac{Y_k}{X_i}))$.
% @end tex
% @end iftex
% @ifnottex
% H(Y/X) = SUM( P(Xi)*H(Y/Xi) ), where H(Y/Xi) = SUM( -P(Yk/Xi)log(P(Yk/Xi)))
% @end ifnottex
% The matrix @var{xy} must have @var{y} along rows and @var{x} along columns.
% @iftex
% @tex
% $X_i = \sum{COL_i} 
% $Y_i = \sum{ROW_i}
% $H(Y|X) = H(X,Y) - H(X)$
% @end tex
% @end iftex
% @ifnottex
% Xi = SUM( COLi ) 
% Yi = SUM( ROWi )
% H(Y|X) = H(X,Y) - H(X)
% @end ifnottex
% @end deftypefn
% @seealso{entropy, conditionalentropy_XY}

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003