<commit_before>.. _listdistributions:

List of Distributions
=====================

.. note::
    Note that distributions for which there is no specific truncated variant,
    can be truncated using the generic truncation feature, i.e.

    .. code-block::

        >>> upper_truncated_weibull = chaospy.Weibull(1.0,1.0) < 2.0
        >>> print(upper_truncated_weibull)
        Trunc(Weibull(scale=1, shape=1, shift=0), 2.0))
        >>> upper_and_lower_truncated_weibull = upper_truncated_weibull > 0.5
        >>> print(upper_and_lower_truncated_weibull)
        Trunc(0.5, Trunc(Weibull(scale=1, shape=1, shift=0), 2.0))

Alpha Distribution
------------------

.. autoclass:: chaospy.distributions.collection.alpha.Alpha

Anglit Distribution
-------------------

.. autoclass:: chaospy.distributions.collection.anglit.Anglit

Arc-Sinus Distribution
----------------------

.. autoclass:: chaospy.distributions.collection.beta.ArcSinus

Beta Distribution
-----------------
<commit_msg>implement suggested fix to example code<commit_after>.. _listdistributions:

List of Distributions
=====================

.. note::
    Note that distributions for which there is no specific truncated variant,
    can be truncated using the generic truncation feature, i.e.

    .. code-block::

        >>> upper_truncated_weibull = chaospy.Weibull(1, 1) < 2
        >>> print(upper_truncated_weibull)
        Trunc(Weibull(scale=1, shape=1, shift=0), 2))
        >>> upper_and_lower_truncated_weibull = upper_truncated_weibull > 0.5
        >>> print(upper_and_lower_truncated_weibull)
        Trunc(0.5, Trunc(Weibull(scale=1, shape=1, shift=0), 2))

Alpha Distribution
------------------

.. autoclass:: chaospy.distributions.collection.alpha.Alpha

Anglit Distribution
-------------------

.. autoclass:: chaospy.distributions.collection.anglit.Anglit

Arc-Sinus Distribution
----------------------

.. autoclass:: chaospy.distributions.collection.beta.ArcSinus

Beta Distribution
-----------------

{'fraction_non_alphanumeric': 0.19437468608739328, 'fraction_numerical': 0.01757910597689603, 'mean_word_length': 2.830769230769231, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3847162', 'n_tokens_mistral': 627, 'n_tokens_neox': 600, 'n_words': 122}