Click or drag to resize
Accord.NET (logo)

LossBaseTInput, TScore, TLossLoss Method

Computes the loss between the expected values (ground truth) and the given actual values that have been predicted.

Namespace:  Accord.Math.Optimization.Losses
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public abstract TLoss Loss(
	TScore actual
)
Request Example View Source

Parameters

actual
Type: TScore
The actual values that have been predicted.

Return Value

Type: TLoss
The loss value between the expected values and the actual predicted values.

Implements

ILossTScore, TLossLoss(TScore)
See Also