Fixed typo in training method

This commit is contained in:
Rafa leyva 2018-10-07 17:02:03 +02:00
parent c8e7a65475
commit 35308bdfaf

View File

@ -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)