Skip to content

add iteration and permutation helper functions #127

Open

Description

@josef-pkt

Ralf needs a substitute for itertools.combinations in functional plots, which is not available in python 2.5

similar there are permutation and other combinatorial functions that we need for permutation tests,

I think they can go together, but where, tools, resampling, next to cross_val iterators...?

Alex has a permutation function by Fernando in mne-python, I have a non-duplicate group permutation somewhere not committed yet.

Activity

  1. vincentarelbundock commented on Aug 26, 2013

    @vincentarelbundock

    Drop support for Python 2.5 after SM 0.5

  2. josef-pkt commented on Aug 26, 2013

    @josef-pkt
    MemberAuthor

    I'm reopening this since it's an enhancement request and not just for python compatibility.

    usecase: permutation tests see MNE-python as example

  3. vincentarelbundock commented on Aug 26, 2013

    @vincentarelbundock

    hehe, too quick on the trigger :)

  4. jseabold commented on Aug 26, 2013

    @jseabold
    Member

    @josef-pkt Can you change the title to the task that needs to be done? IIUC, the title refers to the moot point only.

  5. josef-pkt commented on Aug 26, 2013

    @josef-pkt
    MemberAuthor

    changed title

  6. josef-pkt commented on Nov 23, 2019

    @josef-pkt
    MemberAuthor

    bump

    I'm looking for an all subsets iterator, e.g. numpy boolean mask with len 2*n, all possibilities in list of categorical variables.
    I don't find where I put Fernando's function and variations on it.

    I found one uncommitted module or script with permutation generators
    "josef_new\scripts\try_allpermutation.py"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions