Function squaredError

Creates a squared error loss term suitable for regression (and multi-target regression) problems.

Operation squaredError (
  Operation hypothesis,
  Operation groundTruth
);

Parameters

NameDescription
hypothesis The predictions made by the model.
groundTruth The true values for the targets, as provided by the training dataset.