Reputation: 452
Does anybody know when is better to choose which? They seem the same to me...
Upvotes: 11
Views: 2613
Reputation: 23492
Both packages do the same. LSMR is based on Fong & Saunders algorithm from 2010 (see paper), and has been introduced in scipy very recently (ie, version 0.10 and earlier won't have it). According to the paper, LSMR should converge faster than LSQR, which uses the Paige & Saunders algorithm that has been around for almost 30 years.
Upvotes: 15