Function squaredError
Creates a squared error loss term suitable for regression (and multi-target regression) problems.
Parameters
Name | Description |
---|---|
hypothesis | The predictions made by the model. |
groundTruth | The true values for the targets, as provided by the training dataset. |