How to put information gain formula in matlab?
3 次查看(过去 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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!