Expands the model term into a term that contains only primitive terms.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual ModelTerm Expand(
bool expandCategorical,
bool allowRankDeficientEncoding = false
)
Public Overridable Function Expand (
expandCategorical As Boolean,
Optional allowRankDeficientEncoding As Boolean = false
) As ModelTerm
public:
virtual ModelTerm^ Expand(
bool expandCategorical,
bool allowRankDeficientEncoding = false
)
abstract Expand :
expandCategorical : bool *
?allowRankDeficientEncoding : bool
(* Defaults:
let _allowRankDeficientEncoding = defaultArg allowRankDeficientEncoding false
*)
-> ModelTerm
override Expand :
expandCategorical : bool *
?allowRankDeficientEncoding : bool
(* Defaults:
let _allowRankDeficientEncoding = defaultArg allowRankDeficientEncoding false
*)
-> ModelTerm
Parameters
- expandCategorical
- Type: SystemBoolean
If ,
categorical variables are expanded into the constant term
and the rank-deficient part.
- allowRankDeficientEncoding (Optional)
- Type: SystemBoolean
Specifies whether categorical
terms should be expanded into a union of rank deficient encodings.
Return Value
Type:
ModelTermIf the term is already primitive, the same object is returned.
Reference