Skip to content

calculate_relevance_table() does not work with y in form of numpy.ndarray #966

@nicolasj92

Description

@nicolasj92

The problem:
The function feature_selection.relevance.calculate_relevance_table() is supposed to support numpy.ndarray as y argument. This causes an attribute error though because numpy.ndarray does not have the sort_index function that is called in line 164 of https://github.com/blue-yonder/tsfresh/blob/main/tsfresh/feature_selection/relevance.py

Anything else we need to know?:

Environment:

I think this issue does not depend on the environment.

  • Python version:
  • Operating System:
  • tsfresh version:
  • Install method (conda, pip, source):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions