Navigation

Operators and Keywords

Function List:

C++ API

Function File: conditionalentropy_XY (x, y)

Computes the H(X/Y) = SUM( P(Yi)*H(X/Yi) ) , where H(X/Yi) = SUM( -P(Xk/Yi)log(P(Xk/Yi))), where P(Xk/Yi) = P(Xk,Yi)/P(Yi). The matrix xy must have y along rows and x along columns. Xi = SUM( COLi ) Yi = SUM( ROWi ) H(X|Y) = H(X,Y) - H(Y)