Principal Component Analysis Constructor
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Principal | Constructs a new PrincipalComponentAnalysis object. |
Principal | Constructs a new PrincipalComponentAnalysis object. |
Principal | Constructs a new PrincipalComponentAnalysis object. |
Principal | Constructs a new PrincipalComponentAnalysis object. |
Principal | Constructs a new PrincipalComponentAnalysis object. |
PrincipalComponentAnalysis(IDataFrame)
Constructs a new PrincipalComponentAnalysis object.
public PrincipalComponentAnalysis(
IDataFrame dataFrame
)
Parameters
- dataFrame IDataFrame
- A data frame containing the data for the analysis.
Exceptions
Argument | dataFrame is null. |
PrincipalComponentAnalysis(Matrix<Double>)
Constructs a new PrincipalComponentAnalysis object.
public PrincipalComponentAnalysis(
Matrix<double> data
)
Parameters
Exceptions
Argument | data is null. |
PrincipalComponentAnalysis(Vector<Double>[])
Constructs a new PrincipalComponentAnalysis object.
public PrincipalComponentAnalysis(
Vector<double>[] variables
)
Parameters
Exceptions
Argument | variables is null. |
PrincipalComponentAnalysis(IDataFrame, String)
Constructs a new PrincipalComponentAnalysis object.
public PrincipalComponentAnalysis(
IDataFrame dataFrame,
string formula
)
Parameters
- dataFrame IDataFrame
- A data frame 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. |
PrincipalComponentAnalysis(IDataFrame, String[])
Constructs a new PrincipalComponentAnalysis object.
public PrincipalComponentAnalysis(
IDataFrame dataFrame,
string[]? variableNames
)
Parameters
- dataFrame IDataFrame
- A data frame containing the data for the analysis.
- variableNames String[]
- An array containing the names of the variables.
Exceptions
Argument | dataFrame is null. -or- variableNames is null. |