Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure the distrubutions module (#91)
* move all docs inside the `sources` file * move all docs inside the `sources` file * add auto docs * replace using the environment.yml by requirements.txt * adjust the naming convention * adjust the naming convention * adjust the naming convention * remove the naming ci * update hooks * add example for the plotting position * update dev dependencies * make 3.11, 3.12 the testing python versions * remove macos from ci * add sensitivity to docs * add sensitivity to docs * add eva to docs * update sensitivity * fix senstivity docs * add missing members * update docs * reformat * reformat * fix equation * reformat * add extensions for math equations * reformat * reformat * add make docs files * reformat * reformat * add plot docs * add plot docs * add gev equation * fix error in gev equation * fix the `\left` error in gev equation * try to separate the two line equation * try to separate the two line equation * try to separate the two line equation * try to separate the two line equation * try to separate the two line equation * add labels to the equations * fix equation labels * fix equation labels * unify gev and gumbel * add cdf to gev and gumbel * add cdf to normal and exponential dists * add fx and FX * reformat * add check to test_fit_model * add check to test_fit_model * add check to test_fit_model * use Agg as backend in test files * simplify the test `TestGUMBEL::test_probability_plot` * simplify the test `TestGEV::test_probability_plot` * fix the Extreme value analysis.ipynb notebook * remove spaces from scripts names * use the factory class `Distribution` in the notebook * add examples * rename `theoretical_estimate` to `inverse_cdf` * remove the `chisquare` test from the `fit_model` * add examples * add missing images * correct images path * add properties * the `parameter` argument is optional for the pdf and cdf * switch parameters for the `inverse_cdf` method * reformat * add docstring * add images * reformat * correct the `inverse_cdf` parameter order in the abstract class method * remove the `dstatic`, `chi_pvalue`, `ks_pvalue properties * reformat * rename the metrics module to descriptors * rename metrics to descriptors * instantiating the distribution by either the parameter or the data * add description to gumbel * correct the `actual_data` parameter in the `cdf` method * correct the `actual_data` parameter in the `pdf` method * update the docstring for the `pdf` and `cdf` methods * return lost commits * validate parameters and data in the distribution constructor * add `random` method to `gumbel` * test providing the `pdf` and `cdf` with data parameters * add example to the `random` method in `gumbel` distribution * add example to the `random` method in `gev` distribution * reformat * add examples to the `exponential` class * update examples of the `gumbel` class * update examples of the `GEV` class * unifyt the docs of `ks` method * the argument `parameter` in the `confidence_interval` method is now optional and moved to the end * check the length of the cdf and data * abstract code into `confidence_level` function * provide the parameters as a kwarg in the `probability_plot`. * reformat docstring * the `prob_non_exceed` is now optional for the `confidence_interval` function * make the `prob_non_exceed` optional in the `confidence_interval` for the GEV class * remove duplicate test * reformat * test `confidence_interval` with the default parameters * update example * add example and test Gumbel.confidence_interval * add example and test GEV.confidence_interval * add images for the examples * move the `cdf` parameter to the end and make it kwarg in the `probability_plot` in gumbel and gev * update dependencies * add the main features to docs * update installation docs * add plt.show at the end of all the plots * remove the `confidence_interval` plot from the `probability_plot` method * update rhine example * update docstring * add `__str__` method * rename `probability_plot` to "plot" * move the `parameters` argument in the `pdf` and `cdf` function to the end * correct the matplotlib backend * update plot gumbel example * update plot gev example * rename the figsize parameter to fig_size for all functions * update the docstring of the `AbstractDistribution.plot` * add missing figures for the docstring * reorder the `plot` method `parameters` in the abstract method * reorder the `confidence_interval` method `parameters` in all classes * rename the `significance_level` parameter to the `ams_analysis` to `alpha` * add examples to the `ams_analysis` * update the examples of the `ams_analysis` * add missing images * rename the objective_fn to truncated_distribution * comment the truncated_distribution function * update checklist files * update ci workflows * rename `statfunction` to `state_function`in the `confidence_interval.boot_strap` * add a script for the truncated_distribution * update examples * update examples * remove the python version from the environment.yml
- Loading branch information