Skip to content

Cap the length of combinations that results from itertools.combinations() when using combinations = True in ns.ev.DecisionTree(). #31

Description

@danielpintard

I have been trying to use ns.ev.DecisionTree() to evaluate lists of markers provided by collaborators. These marker lists can range from 1 - 50 genes, and I have noticed that with gene lists that are longer (let's say > 10 genes), ns.ev.DecisionTree(combinations = True) will stall as it will struggle to write all the generated combinations to memory. There may be many ways to address this, but one idea I have is allowing users to place a cap on the length of combinations generated, as that can reduce the number of generated combinations that need to be written to disk.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions