Gscorreia89 / chemometrics-tutorials

MIT License
11 stars 11 forks source link

from pyChemometrics.plotting_utils import plotLoadings #4

Open JABFrance opened 1 year ago

JABFrance commented 1 year ago

Hi,

I just wanted to say this is an awesome package! I've recently started a PhD using hyperspectral remotely sensed images to predict leaf nutrient concentrations, and this package is really helpful.

I can get most of it to work, but I need to comment out 'from pyChemometrics.plotting_utils import plotLoadings' to get it to work. However, this leads to some issues downstream (e.g. "AttributeError: 'ChemometricsPCA' object has no attribute 'plot_loadings'"

Screenshot_20230120_103931

I'm probably overlooking something simple, I'm pretty new to Python and chemometrics. Any feedback or help would be greatly appreciated.

Thanks, and all the best, Justin