auswahl.util.get_coef_from_pls

auswahl.util.get_coef_from_pls(pls)[source]

Retrieves the coef attribute from the PLS model in the shape (n_targets, n_features) without triggering a FutureWarning. The coef values are already in the planned shape for future releases.

Parameters
pls: PLSRegression

Fitted Estimator instance of the PLSRegression class.

Returns
coef: ndarray of shape (n_targets, n_features)

Linear coefficients of the pls model.