View definition

# (*Network).UpdateWeights

## Description

UpdateWeights takes an output size * 1 output vector and a size * 1 back-propagated error vector, as well as a learnRate and updates the internal weights matrix.

## Examples

// Update the weights m.network.UpdateWeights(trainVec, b, m.LearningRate) // Update the biases

Convey("The weight update results should be right...", func() { n.UpdateWeights(a, b, 0.9) for i := 1; i <= 6; i++ { for j := 1; j <= 6; j++ {

## UpdateWeights is referenced in 1 repository

**github.com/sjwhitworth/golearn**

- 1 reference in neural/layered.go
- 1 reference in neural/network_test.go