fslaborg / FSharp.Stats

statistical testing, linear algebra, machine learning, fitting and signal processing in F#
https://fslab.org/FSharp.Stats/
Other
210 stars 56 forks source link

Added Optimized hierarchical Clustering #267

Closed zieglerSe closed 1 year ago

zieglerSe commented 1 year ago

This PR references Issue #266

This version of hClust is faster in computation. It uses a priority queue to find minimum-distance partners. Added Unit tests as well as documentation.

codecov-commenter commented 1 year ago

Codecov Report

Merging #267 (b654134) into developer (a43bf76) will increase coverage by 0.74%. The diff coverage is 76.13%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@              Coverage Diff              @@
##           developer     #267      +/-   ##
=============================================
+ Coverage      47.36%   48.10%   +0.74%     
=============================================
  Files            153      153              
  Lines          15370    15494     +124     
  Branches        1989     2005      +16     
=============================================
+ Hits            7280     7454     +174     
+ Misses          7541     7481      -60     
- Partials         549      559      +10     
Impacted Files Coverage Δ
tests/FSharp.Stats.Tests/Main.fs 0.00% <0.00%> (ø)
...rp.Stats/ML/Unsupervised/HierarchicalClustering.fs 55.65% <68.59%> (+55.65%) :arrow_up:
tests/FSharp.Stats.Tests/ML.fs 78.97% <96.22%> (+7.43%) :arrow_up: