Click or drag to resize
Accord.NET (logo)

PartialLeastSquaresAnalysis Constructor (Double, Double, 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,
	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.
algorithm
Type: Accord.Statistics.AnalysisPartialLeastSquaresAlgorithm
The PLS algorithm to use in the analysis. Default is NIPALS.
See Also