Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1D-Histograms as prior distributions #70

Merged
merged 3 commits into from
Aug 28, 2019
Merged

1D-Histograms as prior distributions #70

merged 3 commits into from
Aug 28, 2019

Conversation

lmh91
Copy link
Contributor

@lmh91 lmh91 commented Aug 28, 2019

1-dimensional StatsBase.Histogram's can now be used as prior distributions.

# h is of type StatsBase.Histogram{<:Real, 1}
d = BAT.HistogramAsUvDistribution(h)
prior = NamedPrior(par1 = d) 

@codecov-io
Copy link

codecov-io commented Aug 28, 2019

Codecov Report

Merging #70 into dev will decrease coverage by 0.59%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##              dev      #70     +/-   ##
=========================================
- Coverage   35.48%   34.89%   -0.6%     
=========================================
  Files          51       52      +1     
  Lines        2821     2869     +48     
=========================================
  Hits         1001     1001             
- Misses       1820     1868     +48
Impacted Files Coverage Δ
src/distributions/HistogramAsUvDistribution.jl 0% <0%> (ø)

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 c58f49d...7aecfc6. Read the comment docs.

@oschulz oschulz merged commit e466b45 into bat:dev Aug 28, 2019
@oschulz
Copy link
Member

oschulz commented Aug 28, 2019

Thanks!

oschulz pushed a commit that referenced this pull request Aug 31, 2019
Add HistogramAsUvDistribution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants