Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 231 Bytes

README.md

File metadata and controls

12 lines (12 loc) · 231 Bytes

Creation:

var single = new Perceptron(n /*Integer*/);

Getting feed forward output:

var output = single.feedForward(signals /*Array*/);

Train the perceptron:

single.train(signals /*Array*/, output /*Number*/)