ModelTerm.Variable Method

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Variable(String) Returns a model term with the specified key.
Variable(IDataFrame, String) Returns a model term for the column with the specified key in the data source.

Variable(String)

Returns a model term with the specified key.
C#
public static ModelTerm Variable(
	string key
)

Parameters

key  String
The

Return Value

ModelTerm

Variable(IDataFrame, String)

Returns a model term for the column with the specified key in the data source.
C#
public static ModelTerm Variable(
	IDataFrame source,
	string key
)

Parameters

source  IDataFrame
The data frame that contains the variables.
key  String
The

Return Value

ModelTerm

If the column is a categorical vector, or when the element type of the column is not numerical, a categorical model term; otherwise a numerical term.

See Also