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
PERF PairwiseDistancesReductions
roadmap
#22587
Labels
Comments
Merged
10 tasks
PairwiseDistancesReductions
back-end roadmap
PairwiseDistancesReductions
back-end roadmapPairwiseDistancesReductions
roadmap
2 tasks
1 task
This was referenced Jul 19, 2022
This was referenced Jul 29, 2022
This was referenced Aug 5, 2022
PairwiseDistancesReductions
roadmapPairwiseDistancesReductions
roadmap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jjerphan commentedFeb 23, 2022
•
edited
PairwiseDistancesReductions
have been introduced as a hierarchy of Cython classes to implement back-ends of some scikit-learn algorithms.Pieces of work include:
PairwiseDistancesReduction
andPairwiseDistancesArgKmin
(feature branch) #22134PairwiseDistancesRadiusNeighborhood
#22320PairwiseDistancesReduction
using Tempita #23865DistanceMetric
#23604PairwiseDistancesReduction
#23585PairwiseDistancesRadiusNeighborhood
#22829PairwiseDistancesReduction
#23978KNeighbors*.predict*
which would remove the costly sequential portion after the current call tokneighbors
PairwiseDistancesReduction
backend forKNeighbors.predict
#24076PairwiseDistancesReduction
heuristic forstrategy="auto"
#24043PairwiseDistances
#23958Subsequent work include:
asv
benchmark suite for the private submoduleTODO
)"precomputed"
distancesPairwiseDistancesReductions
for F-contiguous arraysn_jobs
parallel_on_{X|Y}
instead of releasing it in those methodsKMeans
implementations usingPairwiseDistancesReductions
mimalloc
to have proper memory allocation for multi-threaded implementations:malloc(1)
might come with unexpected changes and might break the whole ecosystem. Also maintaining it might be costly.RadiusNeighbors*.predict*
which would remove the costly sequential portion after the current call toradius_neighbors
assert_argkmin_results_quasi_equality
to report the original distances (before rounding) for the nighbor indices in the 2 rounded dist groups in theAssertionError
message to help understand the nature of the failures foundPairwiseDistancesReductions
Note that this needs not be personal work, I would be really glad having others help on this subject, proposing changes and implementations!🙂
The text was updated successfully, but these errors were encountered: