private void timer1_Tick(object sender, EventArgs e) { _lvq.LearnOneEpoch(_learningRate); double d = (double)_lvq.Test() / _lvq.trainingData.Count; nud_accuracy.Value = System.Convert.ToInt32((100 * d)); _graphics.Clear(Color.White); pictureBox1.Image = _bitmap; Drawing.DrawCodeVectors(_graphics, _lvq._w); Drawing.DrawData(_graphics, _data, _width, _height); }