BiPolarUtil NormalizeBinary Method Encog Machine Learning Framework for .Net
Normalize a binary number. Greater than 0 becomes 1, zero and below are false.

Namespace: Encog.MathUtil.Matrices
Assembly: encog-core-cs (in encog-core-cs.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax

public static double NormalizeBinary(
	double d
)

Return Value

Type: Double
A double that will be 0 or 1.
See Also