Model Term.Variables Method
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Variables( | Returns a collection of model terms for the columns with the specified keys. |
Variables( | Returns a collection of model terms for the columns with the specified keys in a data frame. |
Variables(IList<String>, Boolean)
Returns a collection of model terms for the columns with the specified keys.
public static ModelTermCollection Variables(
IList<string> keys,
bool noIntercept = false
)
Parameters
- keys IList<String>
- A list of strings containing the keys of the columns
- noIntercept Boolean (Optional)
- Indicates whether a constant term should be included.
Return Value
ModelTermCollectionA collection of unbound terms with keys in keys.
Variables(IDataFrame, String[], Boolean)
Returns a collection of model terms for the columns with the specified keys
in a data frame.
public static ModelTermCollection Variables(
IDataFrame source,
string[] keys,
bool noIntercept = false
)
Parameters
- source IDataFrame
- keys String[]
- noIntercept Boolean (Optional)
- Indicates whether a constant term should be included.
Return Value
ModelTermCollectionA collection of terms corresponding to the columns in source with keys in keys.