-
Notifications
You must be signed in to change notification settings - Fork 0
/
the_best_car.js
68 lines (68 loc) · 2.14 KB
/
the_best_car.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
const theBestCar = {
levels: [
{
inputs: [0.4625623030058603, 0.00694462349422309, 0, 0, 0],
outputs: [1, 1, 1, 1, 0, 1],
biases: [
0.0063872641786154975, -0.12288195116974845, -0.15910816762195829,
-0.008786688814210714, 0.2582904331758917, -0.100474272690988,
],
weights: [
[
0.05070437922831214, 0.28600039673004396, 0.09184427459243186,
0.2542287780962909, -0.11893078952417399, 0.0785913408813675,
],
[
-0.24360884284738848, 0.15920598020580254, -0.035477068785704724,
-0.19776496311042197, 0.16319265365636054, -0.005432468538645825,
],
[
-0.21035746224579155, -0.26320730483905697, -0.43406095877592593,
0.021915729280875353, 0.14670766388537476, 0.03248908956505948,
],
[
-0.01394554117281056, -0.051480393235135806, -0.357707358016662,
-0.07613948397759211, -0.014572722497356583, 0.05418331376378613,
],
[
0.17216558866059425, 0.10865669262268987, 0.016157318968336408,
0.19350653450497401, -0.09546170877068165, -0.04726023008316564,
],
],
},
{
inputs: [1, 1, 1, 1, 0, 1],
outputs: [1, 1, 1, 0],
biases: [
-0.24120032391228685, 0.05528881706845289, 0.03364153014957914,
-0.2527185671289321,
],
weights: [
[
-0.16777245524055778, 0.2436214768428006, -0.29758376037609885,
-0.1454521900477556,
],
[
-0.061209606189841365, 0.21387187164083699, -0.21900350580489802,
-0.2336882782120989,
],
[
0.15910322042387975, -0.019146203495767705, 0.3253482495237424,
0.11466075067780829,
],
[
-0.1238414729770263, -0.11460050601102495, 0.21472730683097485,
0.11580948686232895,
],
[
0.06591795140704383, -0.07366000904348749, -0.3706037098285174,
0.1671282139615356,
],
[
0.3265251700552124, -0.1501872039702885, 0.20771131190153688,
-0.2695409295817633,
],
],
},
],
};