Skip to content

Commit

Permalink
Merge pull request #153 from BrainJS/152-NaN-error-rate
Browse files Browse the repository at this point in the history
fix #152 and bump version number
  • Loading branch information
robertleeplummerjr authored Feb 11, 2018
2 parents 6df3f90 + 4009d95 commit cb9a707
Show file tree
Hide file tree
Showing 7 changed files with 143 additions and 213 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
"node_modules",
"test"
],
"version": "1.0.4"
"version": "1.0.5"
}
225 changes: 78 additions & 147 deletions browser.js

Large diffs are not rendered by default.

121 changes: 60 additions & 61 deletions browser.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/neural-network-gpu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/neural-network-gpu.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "brain.js",
"description": "Neural network library",
"version": "1.0.4",
"version": "1.0.5",
"author": "Heather Arthur <[email protected]>",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/neural-network-gpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default class NeuralNetworkGPU extends NeuralNetwork {
this.getMSE = this.gpu.createKernel(mse, {
output: [1],
constants: {
size: this.outputLayer
size: this.sizes[this.outputLayer]
}
});
}
Expand Down

0 comments on commit cb9a707

Please sign in to comment.