Exemplo n.º 1
0
 public void Reset()
 {
     if (LayerMatrix != null)
     {
         LayerMatrix.Ramdomize(-1, 1);
     }
 }
Exemplo n.º 2
0
 public void Prune(int neuron)
 {
     if (_layerMatrix != null)
     {
         LayerMatrix = LayerMatrix.DeleteRow(neuron);                 // delete a row on this matrix
     }
     if (Previous != null)
     {
         if (Previous.LayerMatrix != null)
         {
             Previous.LayerMatrix = Previous.LayerMatrix.DeleteColumn(neuron);                      // delete a column on the previous
         }
     }
 }