From b9a5c221aa9bb5e630a60475b72a02e54ab28b27 Mon Sep 17 00:00:00 2001 From: Harshil Date: Wed, 10 Oct 2018 20:05:59 +0200 Subject: [PATCH] Update perceptron.py --- Neural_Network/perceptron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neural_Network/perceptron.py b/Neural_Network/perceptron.py index 7856ebb9d..44c98e29c 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 trainnig(self): + def training(self): for sample in self.sample: sample.insert(0, self.bias)