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

Add unit tests Distributions.Discrete.Hypergeometric #221

Closed Freymaurer closed 2 years ago

Freymaurer commented 2 years ago

Please list the changes introduced in this PR

Additional contest

⚠️ CDF still has float as input. This is missleading and should be changed in a bigger rework of the Distribution<'a,'b> interface!

[Required] please make sure you checked that

[Optional]

codecov-commenter commented 2 years ago

Codecov Report

Merging #221 (15f4188) into developer (29c23ff) will increase coverage by 0.37%. The diff coverage is 96.93%.

@@              Coverage Diff              @@
##           developer     #221      +/-   ##
=============================================
+ Coverage      41.90%   42.28%   +0.37%     
=============================================
  Files            126      126              
  Lines          13224    13311      +87     
  Branches        1784     1789       +5     
=============================================
+ Hits            5542     5628      +86     
- Misses          7224     7225       +1     
  Partials         458      458              
Impacted Files Coverage Δ
tests/FSharp.Stats.Tests/Main.fs 0.00% <0.00%> (ø)
src/FSharp.Stats/Distributions/Discrete.fs 52.59% <87.50%> (+31.82%) :arrow_up:
tests/FSharp.Stats.Tests/Distributions.fs 92.68% <100.00%> (-5.75%) :arrow_down:
src/FSharp.Stats/Distributions/Continuous.fs 21.86% <0.00%> (-2.71%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 29c23ff...15f4188. Read the comment docs.