Documentation For Encog 2.x

BiPolarUtil.NormalizeBinary Method

Normalize a binary number. Greater than 0 becomes 1, zero and below are false.

public static double NormalizeBinary(
   double d
);

Parameters

d
A binary number in a double.

Return Value

A double that will be 0 or 1.

See Also

BiPolarUtil Class | Encog.Matrix Namespace