Skip to content

README: using the distance metrics without the classifier - #42

Merged
sidchaini merged 1 commit into
mainfrom
readme-cdist
Nov 16, 2026
Merged

sidchaini merged 1 commit into
mainfrom
readme-cdist

Conversation

@sidchaini

@sidchaini sidchaini commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Added some text:

  • dcpy.cdist(XA, XB, metric=...) as a drop-in for scipy.spatial.distance.cdist that also accepts every DistClassiPy metric;
  • using any DistClassiPy metric with scikit-learn estimators through metric="precomputed" (k-nearest neighbours as the example);
  • a Features bullet for the compiled metrics.

Add a short section on dcpy.cdist (scipy-style pairwise distances with
every DistClassiPy metric) and on using it with scikit-learn estimators
via metric="precomputed", plus a Features bullet for the compiled
metrics. All README code blocks run in sequence.
@sidchaini
sidchaini merged commit 94deacb into main Nov 16, 2026
20 checks passed
@sidchaini
sidchaini deleted the readme-cdist branch November 16, 2026 06:14
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.

1 participant