Clustering Model<T> Constructor
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
Clustering | Constructs a new ClusteringModel<T>. |
Clustering | Constructs a new ClusteringModel<T>. |
Clustering | Constructs a new ClusteringModel<T>. |
Clustering | Constructs a new ClusteringModel<T>. |
ClusteringModel<T>(Matrix<T>)
Constructs a new ClusteringModel<T>.
protected ClusteringModel(
Matrix<T> features
)
Parameters
ClusteringModel<T>(IDataFrame, String)
Constructs a new ClusteringModel<T>.
protected ClusteringModel(
IDataFrame dataFrame,
string formula
)
Parameters
- dataFrame IDataFrame
- An IDataFrame containing the data for the analysis.
- formula String
- A formula that specifies the features in the model.
Exceptions
Argument | dataFrame is null. -or- formula is null. |
Format | The formula is not in the correct format. |
ClusteringModel<T>(IDataFrame, String[])
Constructs a new ClusteringModel<T>.
protected ClusteringModel(
IDataFrame dataFrame,
string[]? featureNames
)
Parameters
- dataFrame IDataFrame
- An IDataFrame containing the data for the analysis.
- featureNames String[]
- An array containing the names of the feature variables.
Remarks
featureNames may be null.
Exceptions
Argument | dataFrame is null. |
ClusteringModel<T>(IEnumerable<Vector<Double>>, Vector<Double>)
Constructs a new ClusteringModel<T>.
protected ClusteringModel(
IEnumerable<Vector<double>> features,
Vector<double> weights
)
Parameters
Remarks
Both features may be null.