Encodes class data prior to its use in neural network training.

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,2>^ Encode(
	array<int>^ x
)

Parameters

x
Type: array< System..::.Int32 >[]()[]
An int array containing the data to be encoded.

Return Value

An int matrix containing the encoded data.

Remarks

Class number must be in the range 1 to nClasses.

See Also