?? symmetricuncertainty.m~
字號:
%SYMMETRICUNCERTAINTY symmetric redundancy measure for categorical-discrete %data% R = SYMMETRICUNCERTAINTY(X,Y) returns the symmetric uncertainty between% the two column vectors X and Y containing categorical measures.%% SYMMETRICUNCERTAINTY [1] computes a symmetric scaled information % measure based on mutual information [2][3] normalized to entropies of % each variable X and Y%% Joaquin Go?i <jgoni@unav.es> & % I?igo Martincorena <imartincore@alumni.unav.es>% University of Navarra - Dpt. of Physics and Applied Mathematics &% Centre for Applied Medical Research. Pamplona (Spain).%% Example:% % x = [1;2;2;2;0;0;1;0;1;2];% y = [1;2;2;2;2;1;0;2;1;0];% r = symmetricuncertainty(x,y);%% Citation:%% If you use them for your academic research work,please kindly cite this % toolbox as: % Joaquin Go?i, I?igo Martincorena. Information Theory Toolbox v1.0. % University of Navarra - Dpt. of Physics and Applied Mathematics & % Centre for Applied Medical Research. Pamplona (Spain).%% References% [1] Witten, Ian H. & Frank, Eibe (2005), Data Mining: Practical Machine % Learning Tools and Techniques, Morgan Kaufmann, Amsterdam.% [2] C. E. Shannon, A mathematical theory of communication, Bell System % Technical Journal, vol. 27, pp. 379-423 and 623-656, July and October, % 1948.% [3] http://en.wikipedia.org/wiki/Mutual_informationfunction su = symmetricuncertainty(x,y)su = 2*redundancy(x,y); %SU = 2* I(X;Y) / (H(X) + H(Y)) = 2*R see redundancy for more information.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -