Beispiel #1
0
 public TKohonenNeuron(TKohonenMap Map, int Col, int Row) : base()
 {
     this.vOHKkfFcp = Map;
     this.WKXIlHax4 = Col;
     this.uiQQufIMH = Row;
     this.WxVfa8WCZ = 0.0;
     this.pudq36ntP = 0;
 }
Beispiel #2
0
		public TKohonenNeuron(TKohonenMap Map, int Col, int Row): base()
    {
      this.vOHKkfFcp = Map;
      this.WKXIlHax4 = Col;
      this.uiQQufIMH = Row;
      this.WxVfa8WCZ = 0.0;
      this.pudq36ntP = 0;
    }
Beispiel #3
0
 public void TrainThread()
 {
     this.fNPattern = 0;
     for (int index = 0; (double)index < this.fSParameter; ++index)
     {
         this.fInput = this.en8Br1nJcm.GetData().Input;
         this.ProcessInput(this.fInput);
         this.oGkBVEIgUD = this.GetWinner();
         this.Update();
         TKohonenMap tkohonenMap = this;
         int         num1        = tkohonenMap.fNPattern + 1;
         tkohonenMap.fNPattern = num1;
         double num2 = (double)this.fNPattern / this.fSParameter;
         this.fLearningRate = this.g5ykpFFS7 * (1.0 - num2);
         this.L2kBAuWI5g    = 1.0 + this.yem372767 * (1.0 - num2);
     }
     Console.WriteLine(this.fNPattern);
 }