def predict(self, x): data = _convert_to_svm_node_array(x) ret = svmc.svm_predict(self.model, data) svmc.svm_node_array_destroy(data) return ret
def predict(self,x): data = _convert_to_svm_node_array(x) ret = svmc.svm_predict(self.model,data) svmc.svm_node_array_destroy(data) return ret