Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nicolasj92 opened this issue Sep 14, 2022 · 1 comment
Labels

Comments

@nicolasj92
Copy link

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):
@nicolasj92 nicolasj92 added the bug label Sep 14, 2022
@mariokrous
Copy link

Facing the same error.
Details regarding my environment

  • Python version: 3.7

  • Operating System: Windows 10

  • tsfresh version: 0.19.0

  • Install method (conda, pip, source): conda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants