erdogant / pca

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

about the loading plot and score plot #23

Closed weiping2020 closed 2 years ago

weiping2020 commented 2 years ago

hi, could you please tell how to do the loading plot by PCA library? and what is the different between loading plot and score plot?

erdogant commented 2 years ago

The loadingplot is named the biplot. You can find more information on the documentation pages

The blog can also be interesting to read where I describe more about the interpretation of the loadings with the biplot and and the scree-plot.

weiping2020 commented 2 years ago

thanks erdogant, I have plotted the loading plot, it has loading points and scatter points, so how to delete the scatter points( initial points) ? just show the loading arrows

erdogant commented 2 years ago

See here

model.biplot(cmap=None, label=False, legend=False)

erdogant commented 2 years ago

re-open the issue if it was not clear.