-
Notifications
You must be signed in to change notification settings - Fork 464
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
New version: Distributions v0.25.45 #53582
Merged
JuliaTagBot
merged 1 commit into
master
from
registrator/distributions/31c24e10/v0.25.45
Jan 31, 2022
Merged
New version: Distributions v0.25.45 #53582
JuliaTagBot
merged 1 commit into
master
from
registrator/distributions/31c24e10/v0.25.45
Jan 31, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
JuliaRegistrator
commented
Jan 31, 2022
- Registering package: Distributions
- Repository: https://github.com/JuliaStats/Distributions.jl
- Created by: @devmotion
- Version: v0.25.45
- Commit: 6f7484634663e67b4e021473e6d2d8099fe00c2a
- Reviewed by: @devmotion
- Reference: JuliaStats/Distributions.jl@6f74846#commitcomment-65743728
- Description: A Julia package for probability distributions and associated functions.
UUID: 31c24e10-a181-5473-b8eb-7969acd0382f Repo: https://github.com/JuliaStats/Distributions.jl.git Tree: 24d26ca2197c158304ab2329af074fbe14c988e4 Registrator tree SHA: 8e1a5ac2695627143951512d700c7e3c445102ec
JuliaRegistrator
referenced
this pull request
in JuliaStats/Distributions.jl
Jan 31, 2022
* Implement Censored * Export Censored and censored * Apply suggestions from code review Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Reorganize code * Move check to constructor * Make newline optional * Reformat * Improve show method * Add checks for finiteness * Implement expectations * Satisfy required params behavior * Overload truncated for DiscreteUniform * Don't re-censor * Handle case where censored to single point * Reformat * Add censored docs page * Update censored.md * Document censored * Add truncated DiscreteUniform tests * Add un-called truncated_uniform test suite * Skip check for DiscreteUniform * Add loglikelihood Useful to avoid redundant computation of bound probabilities when performing censored regression * Include bounds in support * Update src/truncated/discrete_uniform.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Remove unnecessary checks for finiteness * Swap order of checks * Update censored.jl * Support using missing to specify unbounded * Apply suggestions from code review Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Improve docstrings * Reformat * Rewrap signature * Use ismissing everywhere * Reformat * Fix maximum * Fix support check * Support fields that are equivalent This allows equality checking for distributions with fields for which `==` or `isapprox` is not defined but `===` is * Add basic censored tests * Apply suggestions from code review Co-authored-by: Moritz Schauer <moritzschauer@web.de> * Resolve ambiguity * Resolve ambiguity * Use equivalence check for missing everywhere * Fix ccdf and logccdf * Better construct mixture equivalent * Implement mixture model for continuous censored dists * Add uniform tests * Enhance discrete uniform tests * Add Poisson tests * Fix implementation of entropy * Test mean/std of censored Poisson * Add normal tests * Remove unused methods * Test bounds check * Add log-likelihood test * Add test for censorship to empty interval * Support censorship to empty intervals * Add comments about expectations * Add more checks for inferrability * Test explicit expectations for DiscreteUniform * Rewrite censored docstring * Indicate interval censoring * Update docs/src/index.md Co-authored-by: Moritz Schauer <moritzschauer@web.de> * Apply suggestions from code review Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Don't use now-deleted function * Fix tes for new params definition * Make loglikelihood type-stable * Add comment about equivalence check * Unabbreviate name * Remove inlines * Add plaintext mimetype * Add more truncated DiscreteUniform tests * Add xexpx * Compute probabilities on log scale * Clarify variable names * Eliminate deprecation warnings * Fix inferrability error * Reformat * Add check_args keyword * Promote each xi * Fix checking of args * Use bounds also to set types * Use check_args macro * Check for ArgumentError * Use eps to detect empty truncation * Use more accurate variable name * Use oneunit * Improve type-stability everywhere * Exhaustively test for type-inferribility * Remove now-unneeded test * Revert "Improve type-stability everywhere" This reverts commit f024f45. * Add convenient types * Use convenient types * Add missing check for in support of uncensored * Avoid promoting inputs based on bounds * Avoid promoting inputs based on bounds * Separate expectations to own methods * Check in interval first * Don't promote input types * Apply suggestions from code review Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Remove lingering reference to udnefined type * Docstring fixes * Consistently use d0 for uncensored * Use nothing instead of missing * Reorganize * Add keyword constructor * Document and promote keyword constructors * Use keyword arguments in show * Don't use isnothing in tests * Don't print nothing Fails on old Julia versions * Export Censored * Once sentence per line * Docstring improvements * Fix variable rendering * Add missing comma * Revert "Export Censored" This reverts commit ccef571. * Prepend with module so docs build * Document with module prepended * Use function ... end syntax * Apply suggestions from code review Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * LeftCensored ⇌ RightCensored * Apply suggestions from code review Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * Introduce xexpy * Remove test for no-longer-supported case * Simplify implementations * Rearrange left before right * Increment version number * Use information theory notation for entropy * Use d0 notation * Add header * Test infinite bounds just in case * Apply suggestions from code review Co-authored-by: Moritz Schauer <moritzschauer@web.de> * Add and test partially truncated overloads for discrete uniform * Update src/censored.jl Co-authored-by: David Widmann <devmotion@users.noreply.github.com> Co-authored-by: David Widmann <devmotion@users.noreply.github.com> Co-authored-by: Moritz Schauer <moritzschauer@web.de>
Your If you want to prevent this pull request from being auto-merged, simply leave a comment. If you want to post a comment without blocking auto-merging, you must include the text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.