Click or drag to resize

SparsePls(SparsePLSMode, Int32, Int32, Int32, Double) Constructor

Constructs a SparsePls object from the given parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public SparsePls(
	SparsePLSMode mode = SparsePLSMode.Regression,
	int[] keepX = null,
	int[] keepY = null,
	int maxIterations = 500,
	double tolerance = 1E-06
)

Parameters

mode  SparsePLSMode  (Optional)
Use regression on canonical mode.
keepX  Int32  (Optional)
Vector with length equal to the number of components, the number of variables to keep in the X loadings for each component. The default is to keep all variables.
keepY  Int32  (Optional)
Vector with length equal to the number of components, the number of variables to keep in the Y loadings for each component. The default is to keep all variables.
maxIterations  Int32  (Optional)
Maximum number of iterations. Default is 500.
tolerance  Double  (Optional)
The tolerance used in the iterative algorithm. Default is 1e-6.
See Also