Commit 9328e31
authored
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.yml1 parent b3a7525 commit 9328e31
File tree
92 files changed
+6508
-2786
lines changed- .github/workflows
- docs
- source
- _images
- _static
- examples
- Note books
- data
- gauges/figures
- notebooks
- statista
- tests
- data
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
92 files changed
+6508
-2786
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 8 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 9 | + | |
16 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments