bugGNU Octave - Bugs: bug #56698, [octave forge] (tisean) pca and...

 
 

bug #56698: [octave forge] (tisean) pca and princomp inconsistent

Submitter:  Muhali <muhali>
Submitted:  Tue 30 Jul 2019 05:08:53 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 5.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 Jul 2019 05:08:53 PM UTC, original submission:  

checking with


pkg load statistics tisean

x = randn(3, 2) ;

[COEFF,SCORE,LATENT] = princomp(x)

[EIGVAL, EIGVEC, TS] = pca(x)

assert(abs(COEFF), abs(EIGVEC), 1e-10)
assert(abs(LATENT), abs(EIGVAL(:,2)), 1e-10)
assert(abs(SCORE), abs(TS), 1e-10)


reveals that pca and princomp produce different results. princomp results, and output format, seem to be identical to Matlab.

Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by muhali (Submitted the item)
  • -email is unavailable- added by muhali
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-28 siko1056 Summary[octave forge](tisean) pca and princomp inconsistent [octave forge] (tisean) pca and princomp inconsistent
    2019-07-30 muhali Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code