Returns a new model input group that has redundant constant columns
removed.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public ModelInputGroup RemoveConstantColumns(
bool allowOneConstant,
out ModelTerm constantTerm,
out double constantValue
)
Public Function RemoveConstantColumns (
allowOneConstant As Boolean,
<OutAttribute> ByRef constantTerm As ModelTerm,
<OutAttribute> ByRef constantValue As Double
) As ModelInputGroup
public:
ModelInputGroup^ RemoveConstantColumns(
bool allowOneConstant,
[OutAttribute] ModelTerm^% constantTerm,
[OutAttribute] double% constantValue
)
member RemoveConstantColumns :
allowOneConstant : bool *
constantTerm : ModelTerm byref *
constantValue : float byref -> ModelInputGroup
Parameters
- allowOneConstant
- Type: SystemBoolean
Specifies whether the group may contain one constant term.
- constantTerm
- Type: Extreme.DataAnalysis.ModelsModelTerm
On return, the model term
corresponding to the first constant column. - constantValue
- Type: SystemDouble
On return, the value of
the elements of the first constant column.
Return Value
Type:
ModelInputGroupA new model input group.
If
constantTerm contains a value,
this term is not included in the new group.
Reference