Constructs an instance of the PLS2SimplsAlgorithm class with the specified values for the maximum number of iterations and tolerance to be used in the power method algorithm used for computing dominant eigenvectors.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public PLS2SimplsAlgorithm(
	int maxIterations,
	double tolerance
)
Visual Basic (Declaration)
Public Sub New ( _
	maxIterations As Integer, _
	tolerance As Double _
)
Visual C++
public:
PLS2SimplsAlgorithm(
	int maxIterations, 
	double tolerance
)

Parameters

maxIterations
Type: System..::.Int32
Maximum number of iterations.
tolerance
Type: System..::.Double
Tolerance.

Remarks

The power method converges if changes in the normalized eigenvector, with respect to the infinity norm, is less than the specified tolerance.

See Also