Skip to content

savinoo/PCA-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCA-implementation

Use PCA Algorithm to apply dimention reduction

To use it, call the function PCA(X, num_components)

Args:

    X: ndarray of size (N, D), where D is the dimension of the data,
       and N is the number of datapoints
    
    num_components: the number of principal components to use.

Returns:

    the reconstructed data, the sample mean of the X, principal values
    and principal components

About

PCA Algorithm to apply dimention reduction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published