AIMA.Core.Learning.Neural.LayerSensitivity.getSensitivityMatrix C# (CSharp) Method

getSensitivityMatrix() public method

public getSensitivityMatrix ( ) : Matrix
return Matrix
	public Matrix getSensitivityMatrix() {
		return sensitivityMatrix;
	}

Usage Example

Ejemplo n.º 1
0
	public Matrix sensitivityMatrixFromSucceedingLayer(
			LayerSensitivity nextLayerSensitivity) {
		Layer nextLayer = nextLayerSensitivity.getLayer();
		Matrix derivativeMatrix = createDerivativeMatrix(layer
				.getLastInducedField());
		Matrix weightTranspose = nextLayer.getWeightMatrix().transpose();
		Matrix calculatedSensitivityMatrix = derivativeMatrix.times(
				weightTranspose).times(
				nextLayerSensitivity.getSensitivityMatrix());
		sensitivityMatrix = calculatedSensitivityMatrix.copy();
		return sensitivityMatrix;
	}
All Usage Examples Of AIMA.Core.Learning.Neural.LayerSensitivity::getSensitivityMatrix