sentence1: for coefficient learning , spams uses the lars-lasso algorithm , which is a homotopy method that provides the solutions for all possible values of λ .
sentence2: for dictionary learning , spams uses the lars-lasso algorithm providing the solutions for all possible values of λ .