(WIP) Sparse models: S-LASSO and TV-l1

- Supports TV-l1 and S-LASSO priors
- Supports logistic and squared losses
- Has cross validation
- Can automatically select alpha by CV (+ automatic computation of useful alpha ranges for the CV)
- Warning: User must supply l1_ratio
It's all about making the test reproducible using a local
random-number-generator, without unnecessary sophistications :)

On Wed, Oct 22, 2014 at 11:20 AM, Loïc Estève <notifications@github.com>
wrote:

> In nilearn/decoding/fista.py:
>
> > +
> > +    n_trials : int,
> > +      Number of tests performed when assessing the Lipschitz continuity of
> > +      function `f`. The more tests, the more confident we are in the
> > +      Lipschitz continuity of `f` if the test passes.
> > +
> > +    err_msg : {str, or None},
> > +      String used to tune the output message when the test fails.
> > +      If `None`, we'll generate our own.
> > +
> > +    Raises
> > +    ------
> > +    RuntimeError
> > +    """
> > +
> > +    rng = check_random_state(42)
>
> I thought the right way to do it was to pass a random_state argument to
> the function
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/nilearn/nilearn/pull/219/files#r19202162>.
>



-- 
DED