haskell / haskell/statistics

Compatibility with `ad`

Open
#138 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
309
Forks
76
PR merge metrics
No merged PRs in 30d

Description

I have been trying to use this package with `nonlinear-optimization` and `ad` for maximum likelihood computations, however this is highly non-practical since distributions always return `Double -> Double` and `ad` needs some kind of polymorphic interface to work. Are there any barriers for such a polymorphic interface?

One problem I see is the need for different contraints depending on the distribution (`Erf` for Normal, `Num` for others).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.