Click or drag to resize
Accord.NET (logo)

RSquaredLoss Constructor (Int32, Double)

Initializes a new instance of the RSquaredLoss class.

Namespace:  Accord.Math.Optimization.Losses
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public RSquaredLoss(
	int numberOfInputs,
	double[] expected
)
Request Example View Source

Parameters

numberOfInputs
Type: SystemInt32
The number if variables being fit.
expected
Type: SystemDouble
The expected outputs (ground truth).
See Also