Model Input Group.Remove Constant Columns Method
Returns a new model input group that has redundant constant columns
removed.
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A new model input group.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public ModelInputGroup RemoveConstantColumns(
bool allowOneConstant,
out ModelTerm?? constantTerm,
out double constantValue
)
Parameters
- allowOneConstant Boolean
- Specifies whether the group may contain one constant term.
- constantTerm ModelTerm
- On return, the model term corresponding to the first constant column.
- constantValue Double
- On return, the value of the elements of the first constant column.
Return Value
ModelInputGroupA new model input group.
Remarks
If constantTerm contains a value,
this term is not included in the new group.