public BackPropagation(INetwork network, ITrainingSetProvider trainingSet, ISolver solver = null) { Network = network; TrainingSetProvider = trainingSet; CurrentEpoch = 0; MinError = 1e-6; MaxEpoch = 1e6; BatchSize = trainingSet.TrainInputs.Length; Solver = solver ?? new GD(network); }