How to put information gain formula in matlab?

3 vues (au cours des 30 derniers jours)
Muhammad Ibrar
Muhammad Ibrar le 10 Mar 2019
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'

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by