This forum has been archived. All content is frozen. Please use KDE Discuss instead.

ConjugateGradient for dense matrices?

Tags: None
(comma "," separated)
bravegag
Registered Member
Posts
52
Karma
0
Hello,

In the context of an ANN implementation we'd like to find the optimal weights also using conjugate gradient CG or gradient descend GD. I found the Eigen documentation corresponding to the CG implementation but it only works for sparse matrices? is there a way to efficiently do it for dense matrices as well? do you have any work in progress in this area or would I have to adapt good known implementations such as Octave's fmincg.m?

TIA,
Best regards,
Giovanni
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
ConjugateGradient does work with dense matrices.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]