We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a65bedc + b7fd2c0 commit fdb80bdCopy full SHA for fdb80bd
src/recurrent/rnn.js
@@ -417,7 +417,7 @@ export default class RNN {
417
418
if (isNaN(error)) throw new Error('network error rate is unexpected NaN, check network configurations and try again');
419
if (log && (i % logPeriod == 0)) {
420
- log('iterations:', i, 'training error:', error);
+ log(`iterations: ${ i }, training error: ${ error }`);
421
}
422
if (callback && (i % callbackPeriod == 0)) {
423
callback({ error: error, iterations: i });
0 commit comments