erdogant / pca

pca: A Python Package for Principal Component Analysis.
https://erdogant.github.io/pca
MIT License
284 stars 42 forks source link

PLS dmodx #31

Closed PARODBE closed 1 year ago

PARODBE commented 1 year ago

Hi Erdogant,

How could it be possible to compute DMODX in PLS?

Thanks Pablo

erdogant commented 1 year ago

Maybe you can use the mapping (output) of Partial Least Squares directly in the spe_dmodxfunction?

import pca
outliers_spe = pca.spe_dmodx(X, n_std=2)