cr.sparse.pursuit.mp.solve¶
- cr.sparse.pursuit.mp.solve(Phi, y, max_iters=100, res_norm_rtol=0.0001, tracker=<function noop_tracker>)[source]¶
Solves the sparse recovery problem \(y = \Phi x + e\) using matching pursuit algorithm
- Parameters
- Returns
A named tuple containing matching pursuit solution state
- Return type
MPState
MPState interface is similar to
cr.sparse.pursuit.RecoverySolution
.Examples
Note
If the expected sparsity of the solution is known then, one should set max_iters as about 4 times that value.