webstruct icon indicating copy to clipboard operation
webstruct copied to clipboard

Custom clustering

Open whalebot-helmsman opened this issue 5 years ago • 1 comments

In this PR:

  • fix for default_clustering_score to reduce score for clustering with threshold=0
  • ability to pass custom distance and position functions to clustering procedure
  • new _get_tree_position and _get_tree_distance functions provide much better grouping results

I didn't set these new functions as default functions. Using them as default will improve grouping quality.

whalebot-helmsman avatar Aug 27 '18 14:08 whalebot-helmsman

Codecov Report

Merging #66 into master will decrease coverage by 0.59%. The diff coverage is 68.18%.

@@            Coverage Diff            @@
##           master      #66     +/-   ##
=========================================
- Coverage   81.02%   80.43%   -0.6%     
=========================================
  Files          40       40             
  Lines        2092     2131     +39     
=========================================
+ Hits         1695     1714     +19     
- Misses        397      417     +20

codecov[bot] avatar Aug 28 '18 09:08 codecov[bot]