diff --git a/lazuardy_anfis/anfis.py b/lazuardy_anfis/anfis.py index 6365a11..f582176 100644 --- a/lazuardy_anfis/anfis.py +++ b/lazuardy_anfis/anfis.py @@ -162,7 +162,7 @@ def trainHybridJangOffLine( ) epoch = epoch + 1 - self.fittedValues = predict(self, self.X) + self.fittedValues = self.predict(self.X) self.residuals = self.Y - self.fittedValues[:, 0] return self.fittedValues