-2

in Weka, text classification have a lot of features after applying feature selection how to remove irrelevant features in process tab quickly not one by one since in text classification the number of feature is high and it needs time to remove one by one.enter image description here

1 Answers1

1

Use the Remove filter for removing ranges of attributes in the Preprocess panel.

But instead of just post-processing the data, you could also change the default parameters of the StringToWordVector filter to produce more meaningful output:

  • change the minimum term frequency (option: -M, property: minTermFreq)
  • use a stopwords handler (option: -stopwords-handler, property: stopwordsHandler) like WordsFromFile.
fracpete
  • 2,448
  • 2
  • 12
  • 17
  • Thanks so much for your reply, my question is how to remove 1500 features quickly not one by one since I am working on text classification and the number of features about 2000 so it needs too much time to delete one by one. – user3100876 Aug 25 '21 at 21:47