Exemplo n.º 1
0
        protected override void UpdateCharts()
        {
            computedFunction.Points.Clear();
            for (int i = 0; i < FunctionInputs.Length; i++)
            {
                computedFunction.Points.Add(new DataPoint(FunctionInputs[i][0], FunctionOutput[i]));
            }

            HistoryChart.AddRange(LearningErrors);
            double error;

            while (LearningErrors.TryDequeue(out error))
            {
                ;
            }
        }
Exemplo n.º 2
0
 protected override void AccountError()
 {
     LearningErrors.Enqueue(GetError(LearningInputs, LearningAnswers));
     ControlError.Enqueue(GetError(ControlInputs, ControlAnswers));
 }