forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 11:13 pm

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: ALGLIB, Need an Assitance for PCA.
PostPosted: Sat Aug 09, 2014 7:50 am 
Offline

Joined: Fri Aug 08, 2014 10:33 am
Posts: 2
I am trying to perform PCA on my dataset[712,68].
Code:
double[,] dataset = new VarianceAndCovariance().buildMatrix();//this statement just fetching data and moves it into dataset.
int info;
double [] eigenvalues = new double[1];
double [,] eigenvectors = new double[68,2];
alglib.pcabuildbasis(dataset, 712, 68,out info,out eigenvalues,out eigenvectors);

Quote:
i want to make sure that am i using the PCA function correctly?
Also i think eigenvalues are in descending orders? is the alglib.pcabuildbasis() function performs the sorting? If so how to stop this sorting??
Kindly Help me, I need it for my project.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group