Click or drag to resize
Accord.NET (logo)

PartialLeastSquaresAnalysis Constructor (Double, Double, AnalysisMethod, PartialLeastSquaresAlgorithm)

Note: This API is now obsolete.

Constructs a new Partial Least Squares Analysis.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please pass the 'inputs' and 'outputs' matrices to the Learn method instead.")]
public PartialLeastSquaresAnalysis(
	double[,] inputs,
	double[,] outputs,
	AnalysisMethod method,
	PartialLeastSquaresAlgorithm algorithm
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
The input source data to perform analysis.
outputs
Type: SystemDouble
The output source data to perform analysis.
method
Type: Accord.Statistics.AnalysisAnalysisMethod
The analysis method to perform. Default is Center.
algorithm
Type: Accord.Statistics.AnalysisPartialLeastSquaresAlgorithm
The PLS algorithm to use in the analysis. Default is NIPALS.
See Also