weka

Why InfoGainAttributeEval in Weka in not available for some data sets


I can clearly see the InfoGainAttributeEval attribute evaluator for the weka data sets. But for a dataset i got externally InfoGainAttributeEval option is not activated.

Can someone explain to me why this must be happening. I want to rank my features.


Solution

  • When selected (in the scenario that you are able to select "InfoGainAttributeEval"), if you double click the white space containing the text "InfoGainAttributeEval", then select capabilities, the following is presented:

    CAPABILITIES
    Class -- Missing class values, Nominal class,
    Binary class
    
    Attributes -- Empty nominal attributes, Nominal attributes,
    Numeric attributes, Unary
    attributes, Date attributes, Missing values,
    Binary attributes
    
    Additional
    min # of instances: 1
    

    When "InfoGainAttribueEval" is unavailable, I suspect that your class is not Nominal or Binary, but rather numerical.