Skip to content

Commit 209e266

Browse files
committed
Add github link
1 parent 19ba6d2 commit 209e266

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

lalolab/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ This package includes the javascript source files for
1111

1212
It is released under the GPL (see gpl.txt).
1313

14+
Check the GitHub repository for the latest updates:
15+
16+
https://github.com/lauerfab/MLweb
17+
1418

1519
NOTE TO USERS
1620
-------------

lalolab/lalolabworker.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,20 +1096,7 @@ svm.train(X,Y)
10961096
}
10971097
function load_mnist_images( ab , N) {
10981098
var bytes = new Uint8Array(ab.slice(16) ); // read as Ubytes and skip header
1099-
return new Matrix(N, 28*28, bytes); //, true);
1100-
/*
1101-
var floats = new Float64Array(bytes);
1102-
1103-
var i;
1104-
var dim = 28*28;
1105-
var mnist = new Array(N);
1106-
var p = 0;
1107-
for ( i=0; i < N; i++) {
1108-
mnist[i] = floats.subarray( p, p + dim);
1109-
p += dim;
1110-
}
1111-
return mnist;
1112-
*/
1099+
return new Matrix(N, 28*28, bytes); //, true);
11131100
}
11141101
function load_mnist_labels( ab , N) {
11151102

0 commit comments

Comments
 (0)