MCPcopy
hub / github.com/cazala/synaptic / equal

Function equal

test/synaptic.js:27–32  ·  view source on GitHub ↗
(prediction, output)

Source from the content-addressed store, hash-verified

25}
26
27function equal(prediction, output) {
28 for (var i in prediction)
29 if (Math.round(prediction[i]) != output[i])
30 return false;
31 return true;
32}
33
34function generateRandomArray(size) {
35 var array = [];

Callers 2

synaptic.jsFile · 0.85
DSRMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected