Perceptron: Difference between revisions

m
mNo edit summary
Line 379:
=={{header|Lua}}==
Simple implementation allowing for any number of inputs (in this case, just 1), testing of the Perceptron, and training.
<lang lua>--SlimeMan22
--SlimeMan22
local Perceptron = {}
Perceptron.__index = Perceptron