Exemplo n.º 1
0
 void LayerControl_Click(object sender, EventArgs e)
 {
     if (this._Layer != null)
     {
         LayerSettings LS = new LayerSettings();
         LS.Layer = this._Layer;
         LS.ShowDialog();
         this.NumberOfNeurons = _Layer.NumberOfNeurons;
         ToolTip.SetToolTip(picAF, "Input combination function: " + _Layer.InputCombinationFunction.ToString());
         if (_Layer.ActivationFunction != null)
         {
             ToolTip.SetToolTip(picCF, "Activation Function: " + _Layer.ActivationFunction.FunctionName);
         }
         else
         {
             ToolTip.SetToolTip(picCF, "Activation Function: Not set");
         }
     }
 }
Exemplo n.º 2
0
 void LayerControl_Click(object sender, EventArgs e)
 {
     if (this._Layer != null)
     {
         LayerSettings LS = new LayerSettings();
         LS.Layer = this._Layer;
         LS.ShowDialog();
         this.NumberOfNeurons = _Layer.NumberOfNeurons;
         ToolTip.SetToolTip(picAF, "Input combination function: " + _Layer.InputCombinationFunction.ToString());
         if (_Layer.ActivationFunction != null)
         {
             ToolTip.SetToolTip(picCF, "Activation Function: " + _Layer.ActivationFunction.FunctionName);
         }
         else
         {
             ToolTip.SetToolTip(picCF, "Activation Function: Not set");
         }                
     }
 }