| PLS2CrossValidationWithJackknife(IPLS2Calc, ICrossValidationSubsets, Boolean, Boolean) Constructor |
Constructs a PLS2CrossValidationWithJackknife instance which uses the given PLS calculator
and subset generator.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public PLS2CrossValidationWithJackknife(
IPLS2Calc calculator,
ICrossValidationSubsets subsetGenerator,
bool scale,
bool useMean
)
Public Sub New (
calculator As IPLS2Calc,
subsetGenerator As ICrossValidationSubsets,
scale As Boolean,
useMean As Boolean
)
public:
PLS2CrossValidationWithJackknife(
IPLS2Calc^ calculator,
ICrossValidationSubsets^ subsetGenerator,
bool scale,
bool useMean
)
new :
calculator : IPLS2Calc *
subsetGenerator : ICrossValidationSubsets *
scale : bool *
useMean : bool -> PLS2CrossValidationWithJackknife
Parameters
- calculator IPLS2Calc
- Instance of a class implementing the IPLS2Calc
interface. Used to perform the PLS calculations during cross validation.
- subsetGenerator ICrossValidationSubsets
- Implementation of the ICrossValidationSubsets
interface that will be used to generate the training and testing subsets.
- scale Boolean
- If true, the learning X data for each subset is scaled
by dividing each variable by its sample standard deviation. The prediction
data is scaled by the same amount. Note that this will impact performance.
- useMean Boolean
- If true the mean of the coefficients computed
in the jackknife replicates will be used to compute variance estimates.
If false the full model coefficients will be used.
See Also