Skip to content

Commit

Permalink
Add mean dispatch for pymc distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianopaz authored and ricardoV94 committed Oct 10, 2024
1 parent 81cfe3c commit 54f7101
Show file tree
Hide file tree
Showing 6 changed files with 777 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
- |
tests/distributions/test_continuous.py
tests/distributions/test_multivariate.py
tests/distributions/moments/test_means.py
- |
tests/distributions/test_censored.py
Expand Down
19 changes: 19 additions & 0 deletions pymc/distributions/moments/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2024 The PyMC Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Moments dispatchers for pymc random variables."""

from pymc.distributions.moments.means import mean

__all__ = ["mean"]
Loading

0 comments on commit 54f7101

Please sign in to comment.