Click or drag to resize
Accord.NET (logo)

ZeroOneLoss Constructor (Int32, Double)

Initializes a new instance of the ZeroOneLoss class.

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

Parameters

classes
Type: SystemInt32
The number of classes.
expected
Type: SystemDouble
The expected outputs (ground truth).
See Also