Filter löschen
Filter löschen

How to put information gain formula in matlab?

5 Ansichten (letzte 30 Tage)
Muhammad Ibrar
Muhammad Ibrar am 10 Mär. 2019
Bearbeitet: Muhammad Ibrar am 14 Mär. 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'

Antworten (0)

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by