ModelInput.Populate Method

Definition

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

Overload List

Populate(IDataFrame) Populates the groups using the specified data frame.
Populate(Vector<Double>, Matrix<Double>, Boolean, Vector<Double>) Populates the groups using the specified vectors and matrices.

Populate(IDataFrame)

Populates the groups using the specified data frame.
C#
public void Populate(
	IDataFrame frame
)

Parameters

frame  IDataFrame
The data frame from which the groups will be populated.

Remarks

The schema of each group determines which columns in frame will be used to populate the group.

Populate(Vector<Double>, Matrix<Double>, Boolean, Vector<Double>)

Populates the groups using the specified vectors and matrices.
C#
public void Populate(
	Vector<double> dependentData,
	Matrix<double> independentData,
	bool noIntercept = true,
	Vector<double> weightData = null
)

Parameters

dependentData  Vector<Double>
A vector containing the targets or dependent variable.
independentData  Matrix<Double>
A matrix containing, in its columns, the independent variables or features.
noIntercept  Boolean  (Optional)
Specifies whether an intercept term should be included.
weightData  Vector<Double>  (Optional)
A vector containing case weights. May be null.

See Also