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.
Why using "weka.filters.supervised.attribute.AttributeSelection" in Weka deletes the "@@class@@" attribute
-
11-06-2023 - |
Domanda
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?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow