harthur/brain

node test/runtests.js takes forever to complete

rjack opened this issue · 1 comments

Hello,

tests are taking forever to complete. Is it normal?

$ node test/runtests.js 
The "sys" module is now called "util". It should have a similar interface.
PASS redis
PASS thresholds
PASS basictext
PASS json
PASS layers
PASS hash
PASS json
PASS grow
PASS tofunction
PASS bitwise
PASS errorthresh

running bayes test on data size: 900

average error: 0.21
average train time: 171 ms
average test time: 313 ms

running neuralnet test on data size: 591

average error: 0.02
average train time: 572 ms
average test time: 8 ms

running bayes test on data size: 900

average error: 0.21
average train time: 123 ms
average test time: 227 ms

running bayes test on data size: 900

average error: 0.20
average train time: 126 ms
average test time: 248 ms

... and just hangs here, CPU working at 100%. I let it run for some minutes, but nothing seems to happen.

I can't tell if something is wrong or if it's just my EEE being too slow.

Should be fixed with new test runner: https://github.com/harthur/brain/tree/master/test