Model Input.Populate Method
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Populate( | Populates the groups using the specified data frame. |
Populate( | Populates the groups using the specified vectors and matrices. |
Populate(IDataFrame)
Populates the groups using the specified data frame.
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.
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.