AIMA.Core.Learning.Neural.Layer.acceptNewWeightUpdate C# (CSharp) Method

acceptNewWeightUpdate() public method

public acceptNewWeightUpdate ( Matrix weightUpdate ) : void
weightUpdate Matrix
return void
	public void acceptNewWeightUpdate(Matrix weightUpdate) {
		/*
		 * penultimate weightupdates maintained only to implement VLBP later
		 */
		setPenultimateWeightUpdateMatrix(getLastWeightUpdateMatrix());
		setLastWeightUpdateMatrix(weightUpdate);
	}

Usage Example

Beispiel #1
0
        public void processError(Vector error)
        {
            Matrix weightUpdate = error.times(lastInput.transpose());

            layer.acceptNewWeightUpdate(weightUpdate);

            Vector biasUpdate = layer.getBiasVector().plus(error);

            layer.acceptNewBiasUpdate(biasUpdate);
        }
All Usage Examples Of AIMA.Core.Learning.Neural.Layer::acceptNewWeightUpdate