We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using algorithms that rely on distance like hierarchical cluster or pairwise_dist I get an error.
----> [273](file:///c%3A/Users/yosty/Desktop/Desktop_Folder/14%20-%20git/matrix_profile/fed_mp.py?line=272) mp.discover.hierarchical_clusters(ts, 52, t=1) [274](file:///c%3A/Users/yosty/Desktop/Desktop_Folder/14%20-%20git/matrix_profile/fed_mp.py?line=273) ~\AppData\Roaming\Python\Python39\site-packages\matrixprofile\algorithms\hierarchical_clustering.py in hierarchical_clusters(X, window_size, t, threshold, method, depth, criterion, n_jobs) 130 raise ValueError('criterion may only be one of: ' + opts_str) 131 --> 132 Y = pairwise_dist(X, window_size, threshold=threshold, n_jobs=n_jobs) 133 Z = linkage(Y, method=method) 134 R = inconsistent(Z, d=depth) ~\AppData\Roaming\Python\Python39\site-packages\matrixprofile\algorithms\pairwise_dist.py in pairwise_dist(X, window_size, threshold, n_jobs) 82 for i in range(0, m - 1): 83 for j in range(i + 1, m): ---> 84 dm[k] = mpdist(X[i], X[j], window_size, threshold=threshold, 85 n_jobs=n_jobs) 86 k = k + 1 ~\AppData\Roaming\Python\Python39\site-packages\matrixprofile\algorithms\mpdist.py in mpdist(ts, ts_b, w, threshold, n_jobs) 49 50 """ ... --> 100 raise ValueError('Unable to convert to np.ndarray!') 101 102 return np.array(a) ValueError: Unable to convert to np.ndarray!
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context the t parameter in hierarchical_clusters should have a range given to users
The text was updated successfully, but these errors were encountered:
I also meet this problem.Are you slove the problem?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using algorithms that rely on distance like hierarchical cluster or pairwise_dist I get an error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
the t parameter in hierarchical_clusters should have a range given to users
The text was updated successfully, but these errors were encountered: