(prediction, output)
| 25 | } |
| 26 | |
| 27 | function 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 | |
| 34 | function generateRandomArray(size) { |
| 35 | var array = []; |
no outgoing calls
no test coverage detected