Skip to content

Commit

Permalink
build dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Cazala committed Mar 2, 2016
1 parent 65dbed4 commit afeb75e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions dist/synaptic.js
Original file line number Diff line number Diff line change
Expand Up @@ -2036,10 +2036,7 @@ function Trainer(network, options) {
this.iterations = options.iterations || 100000;
this.error = options.error || .005
this.cost = options.cost || null;
this.crossValidate = {
testSize: .3,
testError: .01
}
this.crossValidate = options.crossValidate || null;
}

Trainer.prototype = {
Expand Down Expand Up @@ -2080,7 +2077,7 @@ Trainer.prototype = {
console.log('Deprecated: use schedule instead of customLog')
this.schedule = options.customLog;
}
if (options.crossValidate) {
if (this.crossValidate) {
crossValidate = true;
if (options.crossValidate.testSize)
this.crossValidate.testSize = options.crossValidate.testSize;
Expand Down
Loading

0 comments on commit afeb75e

Please sign in to comment.