convnetjs/regression_uncertainty.js
// layer id of layer we'd like to draw outputs of
layer id of layer we'd like to draw outputs of
layer id of layer we ' d like to draw outputs of
function reload_reg() {
  net = new convnetjs.Net();
  net.makeLayers(layer_defs);
  trainer = new convnetjs.SGDTrainer(net, {learning_rate:0.001, momentum:0.0, batch_size:12, l2_decay:l2_decay});
  sum_y = Array();
  for(var x=0.0; x<=WIDTH; x+= density)
    sum_y.push(new cnnutil.Window(100, 0));
  sum_y_sq = Array();
  for(var x=0.0; x<=WIDTH; x+= density)
    sum_y_sq.push(new cnnutil.Window(100, 0));
  acc = 0;
}
function reload_reg ( ) { net = new convnetjs . Net ( ) ; net . makeLayers ( layer_defs ) ; trainer = new convnetjs . SGDTrainer ( net , { learning_rate : 0.001 , momentum : 0.0 , batch_size : 12 , l2_decay : l2_decay } ) ; sum_y = Array ( ) ; for ( var x = 0.0 ; x <= WIDTH ; x += density ) sum_y . push ( new cnnutil . Window ( 100 , 0 ) ) ; sum_y_sq = Array ( ) ; for ( var x = 0.0 ; x <= WIDTH ; x += density ) sum_y_sq . push ( new cnnutil . Window ( 100 , 0 ) ) ; acc = 0 ; }
layer id of layer we'd like to draw outputs of
layer id of layer we ' d like to draw outputs of