How to put information gain formula in matlab?

3 visualizaciones (últimos 30 días)
Muhammad Ibrar
Muhammad Ibrar el 10 de Mzo. de 2019
Editada: Muhammad Ibrar el 14 de Mzo. de 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'

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by