this.trainingDataset = input;
}
// actually performs CDk
NeuralNetworkGradient gradient = getGradient(new Object[]{k,learningRate});
//W.addi(gradient.getwGradient());
this.connectionWeights = this.connectionWeights.plus(gradient.getwGradient());
//hBias.addi(gradient.gethBiasGradient());
this.hiddenBiasNeurons = this.hiddenBiasNeurons.plus(gradient.gethBiasGradient());
//vBias.addi(gradient.getvBiasGradient());
this.visibleBiasNeurons = this.visibleBiasNeurons.plus( gradient.getvBiasGradient() );
}