Categorical Encoding.Get Contrast Matrix Method
Returns a matrix whose columns contain the contrasts
for the encoding.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix whose columns contain the contrasts for the encoding.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.