Click or drag to resize
Accord.NET (logo)

ToolsExpand Method (Int32, Double, Double)

Note: This API is now obsolete.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use Jagged.OneHot instead.")]
public static double[][] Expand(
	int[] labels,
	double negative,
	double positive
)
Request Example View Source

Parameters

labels
Type: SystemInt32
negative
Type: SystemDouble
positive
Type: SystemDouble

Return Value

Type: Double
See Also