Skip to content

Commit

Permalink
adding to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tfm000 committed Nov 28, 2023
1 parent d577b84 commit c1807e8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
<a href="https://github.com/tfm000/sklarpy/actions/workflows/tests.yml">
<img src="https://github.com/tfm000/sklarpy/actions/workflows/tests.yml/badge.svg?branch=main"
alt="build"></a> &nbsp;
<a href="https://sklarpy.readthedocs.io/en/latest/?badge=latest">
<img src="https://readthedocs.org/projects/sklarpy/badge/?version=latest"
alt="build"></a> &nbsp;
<a href="https://pepy.tech/project/sklarpy">
<img src="https://static.pepy.tech/personalized-badge/sklarpy?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads"
alt="downloads"></a> &nbsp;
Expand Down
24 changes: 24 additions & 0 deletions docs/source/Univariate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,27 @@
Univariate Distributions
#########################

This SklarPy package contains many different univariate distributions in addition to objects allowing for easy fitting.
With the exception of a handful of distributions, all univariate distribution objects are wrappers of scipy.stats univariate distributions, with added functionalities for plotting, fitting and saving.

There is also the UnivariateFitter object, which allows for easy fitting of univariate distributions to data and for determining the best / statistically significant distribution(s).

.. automodule:: sklarpy.univariate
:members:
:exclude-members: UnivariateFitter

.. autoclass:: UnivariateFitter
:members:

.. automethod:: __init__

.. automethod:: fit

.. caution::

If 'use_processpoolexecutor' is set to True, the UnivariateFitter object will use the ProcessPoolExecutor to parallelize the fitting process. However, if the code is ran outside 'if __name__ == "__main__":', you may receive a runtime error.

.. automethod:: plot

.. automethod:: fitted_distributions

3 changes: 3 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<a href="https://github.com/tfm000/sklarpy/actions/workflows/tests.yml">
<img src="https://github.com/tfm000/sklarpy/actions/workflows/tests.yml/badge.svg"
alt="build"></a> &nbsp;
<a href="https://sklarpy.readthedocs.io/en/latest/?badge=latest">
<img src="https://readthedocs.org/projects/sklarpy/badge/?version=latest"
alt="build"></a> &nbsp;
<a href="https://pepy.tech/project/sklarpy">
<img src="https://static.pepy.tech/personalized-badge/sklarpy?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads"
alt="downloads"></a> &nbsp;
Expand Down

0 comments on commit c1807e8

Please sign in to comment.