@@ -116,14 +116,14 @@ var method = {
116
116
log . debug ( 'Learning Method: ' + learningmethod ) ;
117
117
this . settings . method = learningmethod ;
118
118
119
- //full connected layers
119
+ //full connected layers and convolutional neural network
120
120
let layers = [
121
121
{ 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' } ,
127
127
{ type : 'regression' , num_neurons : 1 }
128
128
] ;
129
129
0 commit comments