Model Term.Variables Method
Definition
Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.