Classifier options greyed out in Weka

12,138

If a classifier is grayed out, it means that it doesn't support the kind of task you want to do. This could be because of the type of features or because of the type of predictions you want to make.

In your case it could be that you're trying to predict a numeric instead of a categorical attribute.

Share:
12,138
user2197953
Author by

user2197953

Updated on June 04, 2022

Comments

  • user2197953
    user2197953 about 2 years

    I have numeric data which has missing values. I want to classify the data using Naive Bayes Classifier in Weka but the option is grayed out. Please help.

  • anonuser0428
    anonuser0428 over 9 years
    putting the target variable in the end worked. Apparently weka always requires the target feature to be at the end of the line.
  • Matthieu
    Matthieu about 7 years
    @anonuser0428 the class parameter is supposed to be the last one when it's not specified. You can configure it with Instances.setClass() method (in Java), or through options in the classifiers (when available).
  • Panos
    Panos about 2 years
    and what about the procedure which Naive Bayes deals with missing values? Deletes records or columns with missing values?