erdogant / pca

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

Minor: Fix parameter description #55

Closed nickgirardo closed 4 months ago

nickgirardo commented 4 months ago

Just a small change: the description for the n_components parameter is slightly incorrect in the range for which a specific number of PCs are used. The original description states that this beings after 0, however that is actually covered by the next case (percentage of variance). It isn't until the value becomes 1 that it describes how many PCs should be returned.

This behavior is controlled by this branch

erdogant commented 4 months ago

Small yes. But thanks.