I'm using weka and I have been trying apply j48 on SOM (self organizing map), I get the cluster/instance of SOM and it puts in j48 but this is not working so, I search online and no examples of combine 2 algorithms appears I need to apply SOM then j48 and least naive bayes
def aplicarArbol(self):
instace = self.som.getClusters()
instace.setClassIndex(self.data.numAttributes() - 1)
j48 = J48arbol()
j48.buildClassifier(instace)
print(instace)
return j48