Function Lmse(int, std::vector<float>, std::vector<float>)

Function Documentation

float Lmse(int nbTar, std::vector<float> netOut, std::vector<float> target)

Computes the least mean squared error (LMSE) between network output and target values.

This function calculates the LMSE by summing the squared differences between the target values and the network’s output values.

Parameters:
  • nbTar – The number of target values.

  • netOut – A vector containing the network’s output values.

  • target – A vector containing the target values.

Returns:

The computed LMSE.