ModelTermCollection.Expand Method

Expands the model term into a term that contains only primitive terms.

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public override ModelTerm Expand(
	bool expandCategorical,
	bool allowRankDeficientEncoding = false
)

Parameters

expandCategorical  Boolean
If true, categorical variables are expanded into the constant term and the rank-deficient part.
allowRankDeficientEncoding  Boolean  (Optional)
Specifies whether categorical terms should be expanded into a union of rank deficient encodings.

Return Value

ModelTerm
If the term is already primitive, the same object is returned.

See Also