Skip to content

Commit 1e0ba22

Browse files
Update NEURALNETV2.js
1 parent 2e942af commit 1e0ba22

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

strategies/NEURALNETV2.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ var method = {
116116
log.debug('Learning Method: '+ learningmethod);
117117
this.settings.method=learningmethod;
118118

119-
//full connected layers
119+
//full connected layers and convolutional neural network
120120
let layers = [
121121
{type: 'input',out_sx: this.x,out_sy: 1,out_depth: 1},
122-
{type: 'fc',num_neurons: this.layer_neurons, activation: this.layer_activation},
123-
{type: 'fc',num_neurons: this.layer_neurons, activation: this.layer2_activation},
124-
{type: 'fc',num_neurons: this.layer_neurons, activation: this.layer_activation},
125-
{type: 'fc',num_neurons: this.layer_neurons, activation: this.layer2_activation},
126-
{type: 'fc',num_neurons: this.layer_neurons, activation: this.layer_activation},
122+
{type: 'conv',num_neurons: 1, activation: 'relu'},
123+
{type: 'fc',num_neurons: 1, activation: 'sigmoid'},
124+
{type: 'conv',num_neurons: 1, activation: 'relu'},
125+
{type: 'fc',num_neurons: 1, activation: 'sigmoid'},
126+
{type: 'conv',num_neurons: 1, activation: 'relu'},
127127
{type: 'regression',num_neurons: 1}
128128
];
129129

0 commit comments

Comments
 (0)