public NetworkManager() { GuessedImages = 0; NN = new Network(new List <int> { 784, 200, 10 }, false); MM = new MNISTmanager("t10k-labels-idx1-ubyte.gz", "t10k-images-idx3-ubyte.gz"); NN = new Network(new List <int> { 2, 3, 2 }, false); //Values = new List<InputValue>(); //IM = new InputManager(); ValidateNN(); }
public NetworkManager(float Eta, int NEpochs, int NBatches, int MiniBachSize, bool overrideValues) { this.NEpochs = NEpochs; this.NBatches = NBatches; this.MiniBatchSize = MiniBachSize; //Values = new List<InputValue>(); //IM = new InputManager(); //NN = new Network(new List<int> { 2, 3, 2 }, overrideValues); NN = new Network(new List <int> { 784, 200, 10 }, overrideValues); MM = new MNISTmanager("train-labels-idx1-ubyte.gz", "train-images-idx3-ubyte.gz"); NN.Eta = Eta; TrainTheNetwork(); }