Search code examples
weka

How to handle missing values to use collective classifier in weka


I am trying to use a YATSI method in combination of NaiveBayesMultinomial classifier. I have a dataset where are some instances annotated by class. Other instances has missing class ?.

If I try to run YATSI, I will get an error "Cannot handle missing values..."

Could you please help me how to fix it?

Thank you Petr


Solution

  • Missing value issue Use the ReplaceMissingValues filter in Weka. Detail about the class can be found here

    Missing class issue Those are your test instances. You need to build classifiers and then apply on these instances with '?' tags to provide them a class label.