Skip to content

Commit dd1ae57

Browse files
fix: Remove reference to options or this.options to testPartition
1 parent 812f014 commit dd1ae57

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
"node_modules",
3232
"test"
3333
],
34-
"version": "1.4.0"
34+
"version": "1.4.1"
3535
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "brain.js",
33
"description": "Neural network library",
4-
"version": "1.4.0",
4+
"version": "1.4.1",
55
"author": "Heather Arthur <[email protected]>",
66
"repository": {
77
"type": "git",

src/cross-validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default class CrossValidate {
116116
let dclone = data.slice(0);
117117
let testSet = dclone.splice(i * size, size);
118118
let trainSet = dclone;
119-
let result = this.testPartition(this.options, trainOpts, trainSet, testSet);
119+
let result = this.testPartition(trainOpts, trainSet, testSet);
120120
for (stat in avgs) {
121121
if (stat in avgs) {
122122
sum = avgs[stat];

0 commit comments

Comments
 (0)