[Solved] Nullpointer exception while using Weka classifier

Since you didn’t provide all relevant information, I’ll take a shot in the dark: I’m assuming that you’re using Weka version 3.7.5 and I found the following source code for Logistic.java online public double [] distributionForInstance(Instance instance) throws Exception { // line 710 m_ReplaceMissingValues.input(instance); instance = m_ReplaceMissingValues.output(); … } Assuming you didn’t pass null for … Read more