pyls.structures.PLSResults

class pyls.structures.PLSResults(**kwargs)[source]

Dictionary-like object containing results of PLS analysis

x_weights

Weights of B features used to project X matrix into PLS-derived component space

Type

(B, L) numpy.ndarray

y_weights

Weights of J features used to project Y matrix into PLS-derived component space; not available with pls_regression()

Type

(J, L) numpy.ndarray

x_scores

Projection of X matrix into PLS-derived component space

Type

(S, L) numpy.ndarray

y_scores

Projection of Y matrix into PLS-derived component space

Type

(S, L) numpy.ndarray

y_loadings

Covariance of features in Y with projected x_scores

Type

(J, L) numpy.ndarray

singvals

Singular values for PLS-derived component space; not available with pls_regression()

Type

(L, L) numpy.ndarray

varexp

Variance explained in each of the PLS-derived components

Type

(L,) numpy.ndarray

permres

Results of permutation testing, as applicable

Type

PLSPermResults

bootres

Results of bootstrap resampling, as applicable

Type

PLSBootResults

splitres

Results of split-half resampling, as applicable

Type

PLSSplitHalfResults

cvres

Results of cross-validation testing, as applicable

Type

PLSCrossValidationResults

inputs

Inputs provided to original PLS

Type

PLSInputs