public static void XOR()
        {
            BasicMultilayerPerceptron.DataSet.DataSet data = new BasicMultilayerPerceptron.DataSet.DataSet("xortrain.txt", ',', 1, false);
            Perceptron.Train(data, 293, 10000, 3, 1, 3, ActivationFunction.Sigmoid(), ErrorFunction.MSE());

            Console.ReadKey();
        }
 public static void MNIST()
 {
     BasicMultilayerPerceptron.DataSet.DataSet data = new BasicMultilayerPerceptron.DataSet.DataSet("mnist2.txt", ' ', 10, false);
     var    p   = Perceptron.Train(data, 60000, 10, 1, 3, 12, ActivationFunction.Sigmoid(), ErrorFunction.MSE());
     double mse = p.CalculateMeanErrorOverDataSet(data);
 }