Class MSE
The mean squared error (MSE) or mean squared deviation (MSD) of an estimator (of a procedure for estimating an unobserved quantity) measures the average of the squares of the errors—that is, the average squared difference between the estimated values and what is estimated.
Inherited Members
Namespace: SiaNet.Metrics
Assembly: SiaNet.dll
Syntax
public class MSE : BaseMetric
Constructors
| Improve this Doc View SourceMSE()
Initializes a new instance of the MSE class.
Declaration
public MSE()
Methods
| Improve this Doc View SourceCalc(Tensor, Tensor)
Calculates the metric with predicted and true values.
Declaration
public override Tensor Calc(Tensor preds, Tensor labels)
Parameters
Type | Name | Description |
---|---|---|
Tensor | preds | The predicted value. |
Tensor | labels | The true value. |
Returns
Type | Description |
---|---|
Tensor |