// Initialize weights
final RandomWrapper rnd = RandomUtils.getRandom();
weightMatrix.assign(new DoubleFunction() {
@Override
public double apply(double value) {
return rnd.nextDouble() - 0.5;
}
});
weightMatrixList.add(weightMatrix);
prevWeightUpdatesList.add(new DenseMatrix(row, sizePrevLayer));
squashingFunctionList.add(squashingFunctionName);