Model Term.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.19
C#
If the term is already primitive, the same object is returned.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.19
public virtual 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
ModelTermIf the term is already primitive, the same object is returned.