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

[ENH] Histogram distribution #382

Merged
merged 14 commits into from
Jun 22, 2024
Next Next commit
[ENH] Histogram distribution
ShreeshaM07 committed Jun 11, 2024
commit 6db78c20f41afebfdb447c50f8acd8bd23f5083a
14 changes: 14 additions & 0 deletions docs/source/api_reference/distributions.rst
Original file line number Diff line number Diff line change
@@ -107,3 +107,17 @@ Sampling and multivariate composition
:template: class.rst

IID

Array distributions
-------------------

Continuous support
~~~~~~~~~~~~~~~~~~

.. currentmodule:: skpro.distributions

.. autosummary::
:toctree: auto_generated/
:template: class.rst

Histogram
2 changes: 2 additions & 0 deletions skpro/distributions/__init__.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
"HalfLogistic",
"HalfNormal",
"IID",
"Histogram",
"Laplace",
"Logistic",
"LogLaplace",
@@ -45,6 +46,7 @@
from skpro.distributions.halfcauchy import HalfCauchy
from skpro.distributions.halflogistic import HalfLogistic
from skpro.distributions.halfnormal import HalfNormal
from skpro.distributions.histogram import Histogram
from skpro.distributions.laplace import Laplace
from skpro.distributions.logistic import Logistic
from skpro.distributions.loglaplace import LogLaplace
3 changes: 2 additions & 1 deletion skpro/distributions/base/__init__.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,8 @@
# copyright: skpro developers, BSD-3-Clause License (see LICENSE file)
# adapted from sktime

__all__ = ["BaseDistribution", "_DelegatedDistribution"]
__all__ = ["BaseDistribution", "_DelegatedDistribution", "BaseArrayDistribution"]

from skpro.distributions.base._base import BaseDistribution
from skpro.distributions.base._base_array import BaseArrayDistribution
from skpro.distributions.base._delegate import _DelegatedDistribution
Loading