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

In cdist, use _asarray only for custom metrics #67

Merged
merged 1 commit into from
Oct 6, 2017

Conversation

jakirkham
Copy link
Owner

For all metrics that we provide, we already make sure that array arguments are converted to Dask Arrays. So there is no need to do this conversion beforehand unless we are using a custom metric where this might not have been done.

For all metrics that we provide, we already make sure that array
arguments are converted to Dask Arrays. So there is no need to do this
conversion beforehand unless we are using a custom metric where this
might not have been done.
@jakirkham
Copy link
Owner Author

Should add that doing this conversion unnecessarily may block our ability to perform some clever optimizations.

@jakirkham jakirkham merged commit 5dd7c49 into master Oct 6, 2017
@jakirkham jakirkham deleted the adj_cdist_asarray branch October 6, 2017 19:20
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

Successfully merging this pull request may close these issues.

None yet

1 participant