fslaborg / FSharp.Stats

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

Hamming distance - issue/294 #303

Closed Samo8 closed 9 months ago

Samo8 commented 9 months ago

Fixes: #294

Description Adding hamming distance functions for generic type, vector and array

codecov-commenter commented 9 months ago

Codecov Report

Merging #303 (baf84f8) into developer (6014323) will increase coverage by 0.17%. The diff coverage is 81.48%.

@@              Coverage Diff              @@
##           developer     #303      +/-   ##
=============================================
+ Coverage      46.31%   46.48%   +0.17%     
=============================================
  Files            148      148              
  Lines          16049    16130      +81     
  Branches        2176     2183       +7     
=============================================
+ Hits            7433     7498      +65     
- Misses          7968     7983      +15     
- Partials         648      649       +1     
Files Coverage Δ
tests/FSharp.Stats.Tests/DistanceMetrics.fs 100.00% <100.00%> (ø)
src/FSharp.Stats/DistanceMetrics.fs 40.90% <11.76%> (-5.18%) :arrow_down:
bvenn commented 9 months ago

Thanks for the contribution @Samo8 🚀