How to put information gain formula in matlab?

5 次查看(过去 30 天)
i'm trying to put the information gain technique formula in matlab but im new in this field so can anyone help me please , I attached the formula pdf file above....thanks in advance
InfoGain(t) = - sum_{i=1}^{m} Pr(c_i) log Pr(c_i)
+ Pr(t) sum{i=1}^{m} Pr(c_i|t) log Pr(c_i|t)
+ Pr(~t) sum{i=1}^{m} Pr(c_i|~t) log Pr(c_i|~t);
here error in 'sum'

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by