Orthogonal matching pursuit

1.4k Views Asked by At

I run orthogonal matching pursuit algorithm in python and get the following warning:

RuntimeWarning: Orthogonal matching pursuit ended prematurely due to linear dependence in the dictionary. The requested precision might not have been met.

How should I remove the linear dependency in my dictionary?

1

There are 1 best solutions below

0
obachtos On

The problem might be related to this Question. Have you tried normalizing both the data array y and the dictionary X?