Apply forward encoding to a value.

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

Syntax

C#
public virtual int[] Encode(
	int x
)
Visual Basic (Declaration)
Public Overridable Function Encode ( _
	x As Integer _
) As Integer()
Visual C++
public:
virtual array<int>^ Encode(
	int x
)

Parameters

x
Type: System..::.Int32
An int containing the value to be encoding.

Return Value

An int array containing the encoded data.

Remarks

Class number must be in the range 1 to nClasses.

See Also