Click or drag to resize
Accord.NET (logo)

ToolsGetNumberOfInputsTInput Method

Estimates the number of columns (dimensions) in a set of data.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public static int GetNumberOfInputs<TInput>(
	TInput[] x
)
Request Example View Source

Parameters

x
Type: TInput
The input data.

Type Parameters

TInput
The type of the t input.

Return Value

Type: Int32
The number of columns (data dimensions) in the data.
See Also