ModelTerm.Variable Method

Definition

Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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