Informationain Gain in Matlab

15 views (last 30 days)
Mazhar Iqbal Rana
Mazhar Iqbal Rana on 10 Feb 2014
Answered: Abin Jacob on 24 Mar 2015
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

Answers (1)

Abin Jacob
Abin Jacob on 24 Mar 2015

Community Treasure Hunt

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

Start Hunting!