Update perceptron.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user