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

[Feature Request] Module Restructuring Part 1 #269

Closed DoganCK closed 1 year ago

DoganCK commented 1 year ago

As discussed with @bvenn, I'd like to make the following quality of life improvements:

Part 2 will be a discussion of alternatives to Interfaces: Abstract classes, composition, etc.

bvenn commented 1 year ago

@DoganCK, could you please also update the references in the documentation (e.g. here).

You can render the documentation by yourself using dotnet fsdocs watch --eval.

DoganCK commented 1 year ago

All the affected docs should be fixed now.

Adding parameters proved to be more complicated than anticipated. For instance, MultiVariateNormal distribution has differently typed parameters (i.e. vector and matrix) and Hypergeometric has integer and float parameters which bars us from using a Map as envisioned. This requires more thinking. This is also something we can discuss when we discuss the abstraction of distributions. So I struck that out for now.