There was an error while loading. Please reload this page.
1 parent 752402a commit d6295a3Copy full SHA for d6295a3
src/main/java/org/encog/neural/networks/training/propagation/sgd/StochasticGradientDescent.java
@@ -314,6 +314,7 @@ public void setBatchSize(int theBatchSize) {
314
((BatchDataSet)getTraining()).setBatchSize(theBatchSize);
315
} else {
316
BatchDataSet batchSet = new BatchDataSet(getTraining(),this.rnd);
317
+ batchSet.setBatchSize(theBatchSize);
318
setTraining(batchSet);
319
}
320
0 commit comments