Borrar filtros
Borrar filtros

sign of coefficients in eig

2 visualizaciones (últimos 30 días)
Hans van der Horn
Hans van der Horn el 11 de Ag. de 2022
Respondida: Hans van der Horn el 12 de Ag. de 2022
Dear experts,
I am aware that the coefficients in PCA componentes are arbitrary (and can be flipped which still has the same meaning). However, I am still a little puzzled. Is there a rule or convention behind the signs in eigenvectors in the output of the eig function? (and determining which part of the elements gets which sign?) Does the strength (absolute) values of coefficients have any influence?
Thanks very much for your help,
Best
Hans van der Horn

Respuesta aceptada

Hans van der Horn
Hans van der Horn el 12 de Ag. de 2022
I'd like to comment on my own question.
I'm analyzing functional MRI data, and extract the first eigenvector from 4D connectivity matrices. I noticed sign flips now and then, that look strange. Now I'm using eigenshuffle.m by John D'Errico, and this tackles the problem. Great code, thanks so much!

Más respuestas (0)

Categorías

Más información sobre Dimensionality Reduction and Feature Extraction en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by