File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 {
1414 "weights" : [
1515 [
16- -2.0448832511901855 ,
17- -12.587446212768555 ,
18- 1.5507053136825562 ,
19- -8.164376258850098 ,
20- -1.4899846315383911 ,
21- -5.436188220977783 ,
22- -2.9978840351104736 ,
23- -2.913925886154175
16+ 10.165555000305176 ,
17+ 4.689060211181641 ,
18+ -18.004831314086914 ,
19+ 19.733312606811523 ,
20+ -2.3023242950439453 ,
21+ 4.847473621368408 ,
22+ 18.549707412719727 ,
23+ 0.7092033624649048
2424 ],
2525 [
26- -0.04018418490886688 ,
27- 0.09275096654891968 ,
28- 3.3877265453338623 ,
29- -0.24014687538146973 ,
30- -1.1964905261993408 ,
31- -1.185164451599121 ,
32- -12.781356811523438 ,
33- 12.380321502685547
26+ -2.723468542098999 ,
27+ 0.57667076587677 ,
28+ -1.2273348569869995 ,
29+ 2.7806801795959473 ,
30+ 1.1250660419464111 ,
31+ 4.038278579711914 ,
32+ -3.3337841033935547 ,
33+ 2.5546464920043945
3434 ],
3535 [
36- 0.860792875289917 ,
37- -2.363535165786743 ,
38- -13.993579864501953 ,
39- 19.03268051147461 ,
40- 2.031890630722046 ,
41- 1.9153715372085571 ,
42- 14.16896915435791 ,
43- 4.531998634338379
36+ -0.07177657634019852 ,
37+ -0.22481177747249603 ,
38+ -3.6623458862304688 ,
39+ 2.585347890853882 ,
40+ -4.619156360626221 ,
41+ -0.4703439176082611 ,
42+ 0.5583899617195129 ,
43+ 1.547146201133728
4444 ],
4545 [
46- 1.255872130393982 ,
47- -0.9278600215911865 ,
48- -10.554705619812012 ,
49- 6.015920162200928 ,
50- -4.951211452484131 ,
51- -12.324256896972656 ,
52- 7.6253814697265625 ,
53- -10.964333534240723
46+ -6.376372337341309 ,
47+ -0.566474437713623 ,
48+ -5.427638053894043 ,
49+ 16.279926300048828 ,
50+ 6.7400922775268555 ,
51+ 0.1331416815519333 ,
52+ 5.571939468383789 ,
53+ 1.6669608354568481
5454 ]
5555 ],
5656 "biases" : [
57- 31.02739143371582 ,
58- -12.756331443786621 ,
59- -1.286994457244873 ,
60- 10.351632118225098
57+ -12.115745544433594 ,
58+ -4.235670566558838 ,
59+ 10.538761138916016 ,
60+ 0.5838905572891235
6161 ]
6262 },
6363 {
6464 "weights" : [
6565 [
66- 2.782470703125 ,
67- 3.0048067569732666 ,
68- -1.9665416479110718 ,
69- -1.0439180135726929
66+ -3.3194658756256104 ,
67+ 3.8274292945861816 ,
68+ -0.8627594113349915 ,
69+ -2.9486629962921143
7070 ]
7171 ],
7272 "biases" : [
73- -0.1883462518453598
73+ 4.008055210113525
7474 ]
7575 }
7676 ],
Original file line number Diff line number Diff line change 22 "scripts" : {
33 "build" : " tsc main.ts" ,
44 "start" : " npm run build && node main.js" ,
5- "write" : " npm run build && node -e 'require(\" ./train.js\" ).writeData(40 ); process.exit()'" ,
5+ "write" : " npm run build && node -e 'require(\" ./train.js\" ).writeData(41 ); process.exit()'" ,
66 "train" : " npm run build && rm -f model.json && node -e 'require(\" ./train.js\" ).train(); process.exit()'"
77 },
88 "dependencies" : {
Original file line number Diff line number Diff line change @@ -7,11 +7,10 @@ const log = LoggerFactory.getLogger("\t\b\b\b\b\b\b\b")
77log . level = "debug"
88
99const data = [
10- ...JSON . parse ( fs . readFileSync ( "./data.36.json" , "utf-8" ) ) ,
11- ...JSON . parse ( fs . readFileSync ( "./data.37.json" , "utf-8" ) ) ,
1210 ...JSON . parse ( fs . readFileSync ( "./data.38.json" , "utf-8" ) ) ,
1311 ...JSON . parse ( fs . readFileSync ( "./data.39.json" , "utf-8" ) ) ,
1412 ...JSON . parse ( fs . readFileSync ( "./data.40.json" , "utf-8" ) ) ,
13+ ...JSON . parse ( fs . readFileSync ( "./data.41.json" , "utf-8" ) ) ,
1514]
1615
1716const net = new brain . NeuralNetwork ( )
You can’t perform that action at this time.
0 commit comments