SPCA 2.0
SPCA 2.0 calculates PCA using Correlation coefficient of Pearson, in addition there is clustering of observations by three methods: KNN, K-means and Hierarchical Clustering.
The code displays main calculations of PCA : Correlation matrix (using c.pearson) and computes eigenvectors and eigenvalues.
in second part: the package displays Clustering of Observations according three methods: KNN, K-means and Hierarchical clustering (HC)
Cite As
Tarik Benkaci (2026). SPCA 2.0 (https://github.com/TBenkHyd2/PCA), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 2.1 | in SPCA 2.1 Accept Number of variables: 4, 5 and more
|
|
|
| 2.0 | calculates Principal Component Analysis and clustering (PCA) Observations with 3 methods |
|
|
| 1.2 | Spatial Principal Component Analysis (SPCA 1.1), in addition there is clustering of observations by three methods: KNN, K-means and Hierarchical Clustering. |
|
|
| 1.1.0 | The package calculates PCA using Correlation coefficient of Pearson, in addition (SPCA 1.1) there is clustering of observations by three methods: KNN, K-means and Hierarchical Clustering. |
|
|
| 1.0.0 |
|
