JuliaMath / DensityInterface.jl

Interface for mathematical/statistical densities in Julia
Other
12 stars 3 forks source link

RFQ Add LikelihoodDensity as a typedef for existing implicit likelihood functionality #14

Closed oschulz closed 1 year ago

oschulz commented 2 years ago

I was looking for a place to define generic likelihood densities and realised that they already exist in DensityInterface in an implicit fashion. This makes them visible and documents them.

CC @devmotion , @cscherrer

codecov[bot] commented 2 years ago

Codecov Report

Merging #14 (d114d99) into master (e71eb2d) will decrease coverage by 10.29%. The diff coverage is 0.00%.

@@             Coverage Diff              @@
##            master      #14       +/-   ##
============================================
- Coverage   100.00%   89.70%   -10.30%     
============================================
  Files            2        2               
  Lines           59       68        +9     
============================================
+ Hits            59       61        +2     
- Misses           0        7        +7     
Impacted Files Coverage Δ
src/interface.jl 86.53% <0.00%> (-13.47%) :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 e71eb2d...d114d99. Read the comment docs.

oschulz commented 2 years ago

Let's put a pin in this for a bit maybe, this maybe be better off in another package.

oschulz commented 1 year ago

MeasureBase.Likelihood can fill this role.