public void TrainClassification(FeedforwardNetwork feedforwardNetwork, List <Tuple <double[], double[]> > trainingData, int epochen = 5000) { for (int i = 0; i < epochen; i++) { foreach (var trainingDataItem in trainingData) { double[] inputValue = trainingDataItem.Item1; double[] outputValue = trainingDataItem.Item2; feedforwardNetwork.Train(inputValue, outputValue); Debug.WriteLine(" InputValue {0} = CalculatedOutput {1} - OutputValue: {2} ", trainingDataItem.Item1[0], feedforwardNetwork.outputFeedforwardLayer.Values[0], trainingDataItem.Item2[0] ); } } }