Related to mutual information
2 ビュー (過去 30 日間)
古いコメントを表示
This is a function for mutual information
function I = MutualInformation(X,Y);
if (size(X,2) > 1) % More than one predictor?
% Axiom of information theory
I = JointEntropy(X) + Entropy(Y) - JointEntropy([X Y]);
else
% Axiom of information theory
I = Entropy(X) + Entropy(Y) - JointEntropy([X Y]);
end
But while running it is showing "not enough input arguements". I am not getting the problem. Can anyone please help me?
採用された回答
Walter Roberson
2014 年 1 月 23 日
You need to go to the command line and call the routine, such as
MutualInformation(rand(5,7), rand(5, 14))
4 件のコメント
Walter Roberson
2014 年 1 月 24 日
The code calls upon the routine named "estpa", but you do not have code for that routine.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!