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

[WIP] BinningAlgorithms #169

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Cornelius-G
Copy link
Collaborator

WIP

  • need to add a bit more support for NamedTuples
  • need to do some minor adaptions & clean-up
  • @oschulz: I did not (yet) add a FixedBinning type since I actually wanted the binning to accept Integerand Ranges directly without wrapping into a special type, so that e.g. plot(samples, bins=(50, -10:0.5:10, SqrtBinning()) is possible (which it is now).
    So currently we accept something like (tuples of) Union{Integer, AbstractRange, AbstractBinning}.
    In Add BinningAlgorithm algo type #166 you mentioned Base.convert could be helpful, but it seems I do not fully understand how this would improve the usability, so maybe you could explain how we should handle this.

@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2020

Codecov Report

Merging #169 into master will decrease coverage by 0.62%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
- Coverage   45.06%   44.43%   -0.63%     
==========================================
  Files          89       90       +1     
  Lines        4613     4658      +45     
==========================================
- Hits         2079     2070       -9     
- Misses       2534     2588      +54     
Impacted Files Coverage Δ
src/algotypes/binning_algorithm.jl 0.00% <0.00%> (ø)
src/optimization/mode_estimators.jl 25.00% <0.00%> (+1.11%) ⬆️
src/plotting/MarginalDist.jl 0.00% <0.00%> (ø)
src/integration/ahmi/whitening_transformation.jl 51.47% <0.00%> (-5.89%) ⬇️
src/integration/ahmi/hyper_rectangle.jl 91.37% <0.00%> (-2.04%) ⬇️
src/integration/ahmi/harmonic_mean_integration.jl 63.33% <0.00%> (-0.48%) ⬇️

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 f5342a8...9957479. Read the comment docs.

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.

2 participants