diff --git a/Neural_Network/perceptron.py b/Neural_Network/perceptron.py index 8ac3e8fc6..7856ebb9d 100644 --- a/Neural_Network/perceptron.py +++ b/Neural_Network/perceptron.py @@ -25,7 +25,7 @@ class Perceptron: self.col_sample = len(sample[0]) self.weight = [] - def trannig(self): + def trainnig(self): for sample in self.sample: sample.insert(0, self.bias) @@ -121,4 +121,4 @@ while True: sample = [] for i in range(3): sample.insert(i, float(input('value: '))) - network.sort(sample) \ No newline at end of file + network.sort(sample)