Click or drag to resize

WorksheetAnalysisExecuteAnalysis(AltaxoDocument, DataTableMatrixProxyWithMultipleColumnHeaderColumns, MatrixDouble, MatrixDouble, Double, DimensionReductionAndRegressionOptions, DataTable, DimensionReductionAndRegressionResult) Method

Makes a PLS (a partial least squares) analysis of the table or the selected columns / rows and stores the results in a newly created table.

Namespace: Altaxo.Calc.Regression.Multivariate
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public virtual string? ExecuteAnalysis(
	AltaxoDocument mainDocument,
	DataTableMatrixProxyWithMultipleColumnHeaderColumns srcData,
	Matrix<double> matrixXRaw,
	Matrix<double> matrixYRaw,
	double[] xOfXRaw,
	DimensionReductionAndRegressionOptions options,
	DataTable destinationTable,
	ref DimensionReductionAndRegressionResult regressionResult
)

Parameters

mainDocument  AltaxoDocument
The main document of the application.
srcData  DataTableMatrixProxyWithMultipleColumnHeaderColumns
The table where the data come from.
matrixXRaw  MatrixDouble
The matrix of spectra (each row in the matrix is one spectrum).
matrixYRaw  MatrixDouble
The matrix of target variables (each row in the matrix contains the target variables for one measurement).
xOfXRaw  Double
The x values of the spectra (all spectra must have the same x values).
options  DimensionReductionAndRegressionOptions
Provides information about how to preprocess the spectra.
destinationTable  DataTable
Destination table to store the results into.
regressionResult  DimensionReductionAndRegressionResult
Receives the regression result.

Return Value

String
if the analysis succeeded; otherwise an error message describing why the analysis could not be completed.
See Also