mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Fixed typo error in perceptron.py
This commit is contained in:
parent
74a65017ca
commit
84ae00197f
BIN
.vs/Python/v15/.suo
Normal file
BIN
.vs/Python/v15/.suo
Normal file
Binary file not shown.
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
|
@ -115,7 +115,7 @@ exit = [-1, -1, -1, 1, 1, -1, 1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1
|
|||
|
||||
network = Perceptron(sample=samples, exit = exit, learn_rate=0.01, epoch_number=1000, bias=-1)
|
||||
|
||||
network.trannig()
|
||||
network.training()
|
||||
|
||||
while True:
|
||||
sample = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user