File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,36 @@ function build(){
51
51
52
52
net .addLayer (2 ); // input
53
53
net .addLayer (2 ); // hidden
54
- net .addLayer (1 ); // ouput
54
+ net .addLayer (1 ); // output
55
+
56
+ return net;
57
+
58
+ }
59
+
60
+ ```
61
+ ## Viewing the Built Neural Network
62
+
63
+ - Open ` index.html ` in the browser to view the built network.
64
+ - To run the forward pass and backpropagation click on the button on the top left corner or press space bar.
65
+
66
+
67
+ ## Adjusting the Speed
68
+
69
+ - To adjust the learning speed go to `dimes.js.
70
+ - Change the value of ` DELAY ` variable.
71
+ - The value is in milliseconds.
72
+
73
+ ## Adding Activation Function
74
+
75
+ - You can add an activation function to a layer while building the network in ` builder.js ` file.
76
+
77
+ ``` javascript
78
+ function build (){
79
+ var net = new Net ();
80
+
81
+ net .addLayer (2 ); // input
82
+ net .addLayer (2 , ReLu); // hidden with activation function
83
+ net .addLayer (1 ); // output
55
84
56
85
return net;
57
86
You can’t perform that action at this time.
0 commit comments