ModelTerm.Numerical Method

Definition

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

Overload List

Numerical(String) Adds a numerical term with the specified key.
Numerical(IIndex, Boolean) Returns a collection of model terms for the columns with the specified keys in an index.
Numerical(Int32, String, Boolean, Int32) Returns a collection of numerical terms with keys generated from the specified prefix.

Numerical(String)

Adds a numerical term with the specified key.
C#
public static ModelTerm Numerical(
	string key
)

Parameters

key  String
The key of the numerical column.

Return Value

ModelTerm

Numerical(IIndex, Boolean)

Returns a collection of model terms for the columns with the specified keys in an index.
C#
public static ModelTermCollection Numerical(
	IIndex index,
	bool noIntercept = true
)

Parameters

index  IIndex
The index that contains the column keys.
noIntercept  Boolean  (Optional)
Indicates whether a constant term should be included.

Return Value

ModelTermCollection
A collection of numerical terms with keys in index.

Numerical(Int32, String, Boolean, Int32)

Returns a collection of numerical terms with keys generated from the specified prefix.
C#
public static ModelTermCollection Numerical(
	int count,
	string prefix,
	bool noIntercept = true,
	int startIndex = -1
)

Parameters

count  Int32
The number of terms in the collection.
prefix  String
The prefix to use when generating keys.
noIntercept  Boolean  (Optional)
Indicates whether a constant term should be included. This parameter is optional. The default value is false.
startIndex  Int32  (Optional)
Optional. The start index for the terms. The default is 1 if noIntercept is true, and 0 otherwise.

Return Value

ModelTermCollection
A collection of numerical terms with the specified keys.

See Also