Home »
Public Forums »
archive »
TRIQL: Too many iterations in tqli. Error calculating PCA with pcomp function
TRIQL: Too many iterations in tqli. Error calculating PCA with pcomp function [message #43082] |
Tue, 22 March 2005 09:15 |
Esteban Garc�a Cues
Messages: 7 Registered: April 2004
|
Junior Member |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV><FONT size=2><FONT face=Arial> Hi all,
<BR> since a long time ago I'm trying to do this
analysis (Principal Components) but I always find this error with pcomp
function:<BR><BR>TRIQL: Too many iterations in tqli.<BR>% Error occurred at:
EIGENQL 122 H:\RSI\IDL60\lib\eigenql.pro<BR>% PCOMP 119
H:\RSI\IDL60\lib\pcomp.pro<BR><BR>the matrix I'm using has 247
columns(variables) and 560 rows (examples), and the kind of data is like
this:<BR></FONT><FONT face=Arial size=1>0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
........... </FONT></FONT><FONT size=2><FONT face=Arial
size=1>0.000000<BR>0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 ...........0.000000<BR>0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 ...........0.000000<BR>0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
...........0.000000<BR>0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 1.00000e-006 1.00000e-006 0.000000
...........1.00000e-006<BR>1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006
1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006
1.00000e-006 ...........1.00000e-006<BR>0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
...........0.000000<BR>0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 ...........0.000000<BR>0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 ...........0.000000<BR>0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
...........0.000000<BR>1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006
1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006
1.00000e-006 ...........1.00000e-006<BR>2.00000e-006 2.00000e-006 2.00000e-006
2.00000e-006 2.00000e-006 2.00000e-006 2.00000e-006 2.00000e-006 3.00000e-006
3.00000e-006 3.00000e-006 ...........3.00000e-006<BR>0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
...........0.000000<BR>0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 ...........0.000000<BR>0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 ...........0.000000<BR>1.00000e-006 1.00000e-006 1.00000e-006
1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006
1.00000e-006 1.00000e-006 ...........1.00000e-006<BR>1.00000e-006 1.00000e-006
1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006 1.00000e-006
2.00000e-006 2.00000e-006 1.00000e-006 ...........2.00000e-006<BR>2.00000e-006
3.00000e-006 3.00000e-006 3.00000e-006 3.00000e-006 3.00000e-006 3.00000e-006
3.00000e-006 4.00000e-006 4.00000e-006 4.00000e-006
...........4.00000e-006<BR>0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 ...........0.000000<BR>0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 ...........0.000000</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial
size=1> ............................................................ ............................................................ ............................................................ ....... <BR>0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 ............0.000000</FONT></FONT></DIV>
<DIV><FONT face=Arial size=1></FONT> </DIV>
<DIV>I dont have problems with something like this:</DIV>
<DIV><FONT face=Arial size=2>seed = 12345L<BR>data =
randomn(seed,247,560)</FONT></DIV>
<DIV><FONT face=Arial size=2>result =
pcomp(data,coefficients=coef,eigenvalues=eigen)</FONT></DIV >
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but there should be something in data that forces
the algorithm to not convergence, do you know why? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>
Thanks a lot. </FONT></DIV>
<DIV><FONT face=Arial
size=2>
Esteban.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
|
|
|
Current Time: Wed Oct 08 15:48:41 PDT 2025
Total time taken to generate the page: 0.00457 seconds