Informationain Gain in Matlab

Hello!
Attached is a formula for calculating information gain of a text file.
Can anyone please tell me that how can we find probabilities and log in matlab?
Is there any built-in function(s)?
Actually I have to transform attached formula in loop in matlab.
Thanks a lot

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 10 de Feb. de 2014

Respondida:

el 24 de Mzo. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by