CategoricalEncoding.GetContrastMatrix Method

Returns a matrix whose columns contain the contrasts for the encoding.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public Matrix<double> GetContrastMatrix(
	bool fullRank = false
)

Parameters

fullRank  Boolean  (Optional)
Optional. Specifies whether the full rank encodings should be returned. The default is false.

Return Value

Matrix<Double>
A matrix whose columns contain the contrasts for the encoding.

See Also