Perceptron: Difference between revisions
m
→{{header|Python}}: This change doesn't alter functionality. vars is a reserved word in python and it shouldn't be used as a variable name.
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Billhorvath (talk | contribs) m (→{{header|Python}}: This change doesn't alter functionality. vars is a reserved word in python and it shouldn't be used as a variable name.) |
||
Line 2,674:
def feed_forward(self, inputs):
for i in range(len(inputs)):
return self.activate(sum(
def activate(self, value):
|