Why using "weka.filters.supervised.attribute.AttributeSelection" in Weka deletes the "@@class@@" attribute

StackOverflow https://stackoverflow.com/questions/22269327

  •  11-06-2023
  •  | 
  •  

문제

I am using Weka Explorer in data mining project, I have too many attributes and I want to reduce them by using Ranking in weka.filters.supervised.attribute.AttributeSelection but when I apply it the Attribute "@@Class@@" is deleted which is must be used in the classifier in next step !

Why attribute "@@Class@@" is deleted ? how to solve this problem ? Any suggestions?

도움이 되었습니까?

해결책

Most likely you have not set the @@Class@@ attribute as the class when performing attribute selection. Ensure you are setting the appropriate class index using -c in the command line or void setClassIndex(int classIndex) in your Java code.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top