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

ZeroDivisionError in LearningShapelets #86

Open
Mao771 opened this issue Oct 11, 2020 · 0 comments
Open

ZeroDivisionError in LearningShapelets #86

Mao771 opened this issue Oct 11, 2020 · 0 comments

Comments

@Mao771
Copy link

Mao771 commented Oct 11, 2020

Description

I have a ZeroDivisionError trying to fit LearningShapelets
data.txt

Steps/Code to Reproduce

import pandas as pd
from pyts.classification.learning_shapelets import LearningShapelets

train_data = pd.read_csv('data.txt', index_col=0)
y_train = train_data['class']
x_train = train_data.drop('class', axis=1)
pls = LearningShapelets()
pls.fit(x_train, y_train)

Versions

NumPy 1.18.5
SciPy 1.4.1
Scikit-Learn 0.22.2
Numba 0.51.2
Pyts 0.11.0

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

No branches or pull requests

1 participant