Encodes an ordinal category.

Namespace: Imsl.DataMining.Neural
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual double Encode(
	int x
)
Visual Basic (Declaration)
Public Overridable Function Encode ( _
	x As Integer _
) As Double
Visual C++
public:
virtual double Encode(
	int x
)

Parameters

x
Type: System..::.Int32
An int containing the ordinal category.

Return Value

A double containing the encoded value, a transformed cumulative percentage.

Remarks

x must be an integer between 1 and nClasses.

See Also