Package nltk_lite :: Package contrib :: Package classifier :: Module featureselect
[hide private]
[frames] | no frames]

Module featureselect

source code

Classes [hide private]
  FeatureSelect
  FeatureSelection
Variables [hide private]
  a_help = 'Selects the feature selection algorithm ...
  f_help = 'Base name of attribute, klass, training, test and go...
  t_help = 'Base name of training file for feature selection. ...
  T_help = 'Base name of test file for feature selection. ...
  g_help = 'Base name of gold file for feature selection. ...
  o_help = 'Algorithm specific options ...
  OPTION_MAPPINGS = {'GR': 'gain_ratio', 'IG': 'information_gain'}
  RANK = 'RNK'
  ALGORITHM_MAPPINGS = {'RNK': 'by_rank'}
Variables Details [hide private]

a_help

Value:
'Selects the feature selection algorithm                 Options: RNK \
for Ranking(Filter based Feature Selection)Default: RNK.              \
                             '

f_help

Value:
'Base name of attribute, klass, training, test and gold   files.      \
                                           '

t_help

Value:
'Base name of training file for feature selection.       '

T_help

Value:
'Base name of test file for feature selection.           '

g_help

Value:
'Base name of gold file for feature selection.           '

o_help

Value:
'Algorithm specific options                              For rank base\
d feature selection the options should     include the method to calcu\
late the rank:                 IG: for Information gain               \
                 GR: for Gain ratio                                   \
 followed by a number which indicates the number of      attributes wh\
ich should be chosen.                      '