Skip to content

MiguelSimao/PCA-RED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PCA-RED

March 15, 2017

Dimensionality reduction model based on PCA.

Example

% Training data set:
X = randn(10,10000);

% Train model with reduction to 3D:
model = PCAModel(X,3);

% Use and test model:
[Y,perform] = model.run(X);
fprintf('Performance on original set: %.2f\n',perform);

% Altered model:
X2 = X + 1;

% The model with parameters calculated on the "training" data set is used on another set:
[Y2,perform2] = model.run(X2);
fprintf('Performance on second set: %.2f\n',perform2);

% To get the reduced data:
Y_reduced = model.reduce(X);

About

Dimensionality reduction model based on PCA.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages