aggregationslib 0.1.5.dev2__tar.gz → 0.1.5.dev5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aggregationslib-0.1.5.dev2/aggregationslib.egg-info → aggregationslib-0.1.5.dev5}/PKG-INFO +9 -17
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/README.md +5 -13
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/README.rst +6 -15
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5/aggregationslib.egg-info}/PKG-INFO +9 -17
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib.egg-info/SOURCES.txt +1 -0
- aggregationslib-0.1.5.dev5/commands.md +1 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/.github/workflows/python-publish.yml +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/.gitignore +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/LICENSE +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/__init__.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/aggregation.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/aggregations.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/conjuctive/__init__.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/conjuctive/purepython.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/decimalaggregations.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/disjunctive/__init__.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/example.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/purepython.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib.egg-info/dependency_links.txt +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib.egg-info/requires.txt +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib.egg-info/top_level.txt +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/pyproject.toml +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/setup.cfg +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/tests/__init__.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/tests/test_aggregations.py +0 -0
- {aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/tests/test_decimal_exponential_mean.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: aggregationslib
|
|
3
|
-
Version: 0.1.5.
|
|
3
|
+
Version: 0.1.5.dev5
|
|
4
4
|
Summary: Python implementation of Arithmetic, quasi arithmetic and other aggregating functions
|
|
5
5
|
Author: wgalka
|
|
6
6
|
Project-URL: Homepage, https://github.com/wgalka/Means
|
|
@@ -14,6 +14,7 @@ Requires-Dist: numpy>=2.2.2
|
|
|
14
14
|
Requires-Dist: pynverse
|
|
15
15
|
Provides-Extra: test
|
|
16
16
|
Requires-Dist: pytest>=8.3.4; extra == "test"
|
|
17
|
+
Dynamic: license-file
|
|
17
18
|
|
|
18
19
|
Means
|
|
19
20
|
=====
|
|
@@ -62,15 +63,6 @@ or ‘**repr**\ ()’ methods.
|
|
|
62
63
|
print(func3.__repr__()) # function parameters are printed in order: func1, func2
|
|
63
64
|
>>>A_arpw(r=3)
|
|
64
65
|
|
|
65
|
-
``exponential(y, r=1)`` is given by equation
|
|
66
|
-
|
|
67
|
-
.. math::
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
A_6^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
71
|
-
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), where
|
|
72
|
-
r \in \mathbb{R}, r \neq 0
|
|
73
|
-
|
|
74
66
|
Aggregation functions
|
|
75
67
|
---------------------
|
|
76
68
|
|
|
@@ -138,7 +130,7 @@ where r=-1; - Geometric Mean obtained as the limit
|
|
|
138
130
|
|
|
139
131
|
A_{ex}^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
140
132
|
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), \text{where
|
|
141
|
-
} r \in \mathbb{R}
|
|
133
|
+
} r \in \mathbb{R}, r \neq 0
|
|
142
134
|
|
|
143
135
|
:math:`\mathbf{A_{lm}}` **- Lehmer mean**
|
|
144
136
|
|
|
@@ -187,17 +179,15 @@ We can specify how many greatest and smallest records remove
|
|
|
187
179
|
|
|
188
180
|
--------------
|
|
189
181
|
|
|
190
|
-
:math:`\mathbf{A_{ln}}` **- Logaritmic aggregation**
|
|
191
|
-
|
|
192
|
-
https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments
|
|
182
|
+
:math:`\mathbf{A_{ln}}` **- Logaritmic aggregation [2]**
|
|
193
183
|
|
|
194
184
|
.. math::
|
|
195
185
|
|
|
196
186
|
|
|
197
187
|
A_{ln}\left(x_1, x_2, \ldots, x_n\right)=(n-1) ! \sum_{i=1}^n \frac{x_i}{\prod_{\substack{j=1 \\ j \neq i}}^n \log \left(x_i / x_j\right)}
|
|
198
188
|
|
|
199
|
-
:math
|
|
200
|
-
|
|
189
|
+
:math:`\mathbf{A^{(p)}_{A_1,A_2}}` - Convex combinations of aggregation functions
|
|
190
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
201
191
|
|
|
202
192
|
We can construct covex combination of aggregation functions as
|
|
203
193
|
:math:`A^{(p)}_{A_1,A_2}=pA_1+(1-p)A_2`, where :math:`A_1, A_2` are
|
|
@@ -208,3 +198,5 @@ References
|
|
|
208
198
|
|
|
209
199
|
1. Beliakov, G., Bustince, H., and Calvo, T.: A practical Guide to
|
|
210
200
|
Averaging Functions. Berlin: Springer Vol. 329, 2016.
|
|
201
|
+
2. `Mustonen, Seppo. (2010). Logarithmic mean for several
|
|
202
|
+
arguments. <https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments>`__
|
|
@@ -38,13 +38,7 @@ print(func3.__repr__()) # function parameters are printed in order: func1, func2
|
|
|
38
38
|
>>>A_arpw(r=3)
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
`exponential(y, r=1)` is given by equation
|
|
42
41
|
|
|
43
|
-
$$
|
|
44
|
-
A_6^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
45
|
-
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), where
|
|
46
|
-
r \in \mathbb{R}, r \neq 0
|
|
47
|
-
$$
|
|
48
42
|
|
|
49
43
|
## Aggregation functions
|
|
50
44
|
|
|
@@ -107,7 +101,7 @@ $\mathbf{A_{ex}^{(r)}}$ **- Exponential mean**
|
|
|
107
101
|
|
|
108
102
|
$$A_{ex}^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
109
103
|
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), \text{where
|
|
110
|
-
} r \in \mathbb{R}
|
|
104
|
+
} r \in \mathbb{R}, r \neq 0$$
|
|
111
105
|
|
|
112
106
|
$\mathbf{A_{lm}}$ **- Lehmer mean**
|
|
113
107
|
|
|
@@ -150,15 +144,12 @@ $$ A_{oln}^{(p)}(x_1,\dots,x_n) = \frac{1}{n-2p} \sum \limits_{k=p}^{n-p} y_k,
|
|
|
150
144
|
|
|
151
145
|
--------------------
|
|
152
146
|
|
|
153
|
-
$\mathbf{A_{ln}}$ **- Logaritmic aggregation**
|
|
154
|
-
|
|
155
|
-
https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments
|
|
156
|
-
|
|
147
|
+
$\mathbf{A_{ln}}$ **- Logaritmic aggregation [2]**
|
|
157
148
|
$$
|
|
158
149
|
A_{ln}\left(x_1, x_2, \ldots, x_n\right)=(n-1) ! \sum_{i=1}^n \frac{x_i}{\prod_{\substack{j=1 \\ j \neq i}}^n \log \left(x_i / x_j\right)}
|
|
159
150
|
$$
|
|
160
151
|
|
|
161
|
-
###
|
|
152
|
+
### $\mathbf{A^{(p)}_{A_1,A_2}}$ - Convex combinations of aggregation functions
|
|
162
153
|
|
|
163
154
|
We can construct covex combination of aggregation functions as $A^{(p)}_{A_1,A_2}=pA_1+(1-p)A_2$, where $A_1, A_2$ are aggregation functions and $p \in [0,1]$.
|
|
164
155
|
|
|
@@ -167,4 +158,5 @@ We can construct covex combination of aggregation functions as $A^{(p)}_{A_1,A_2
|
|
|
167
158
|
## References
|
|
168
159
|
|
|
169
160
|
1. Beliakov, G., Bustince, H., and Calvo, T.: A practical Guide to Averaging Functions.
|
|
170
|
-
Berlin: Springer Vol. 329, 2016.
|
|
161
|
+
Berlin: Springer Vol. 329, 2016.
|
|
162
|
+
2. [Mustonen, Seppo. (2010). Logarithmic mean for several arguments. ](https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments)
|
|
@@ -45,15 +45,6 @@ or ‘**repr**\ ()’ methods.
|
|
|
45
45
|
print(func3.__repr__()) # function parameters are printed in order: func1, func2
|
|
46
46
|
>>>A_arpw(r=3)
|
|
47
47
|
|
|
48
|
-
``exponential(y, r=1)`` is given by equation
|
|
49
|
-
|
|
50
|
-
.. math::
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
A_6^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
54
|
-
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), where
|
|
55
|
-
r \in \mathbb{R}, r \neq 0
|
|
56
|
-
|
|
57
48
|
Aggregation functions
|
|
58
49
|
---------------------
|
|
59
50
|
|
|
@@ -121,7 +112,7 @@ where r=-1; - Geometric Mean obtained as the limit
|
|
|
121
112
|
|
|
122
113
|
A_{ex}^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
123
114
|
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), \text{where
|
|
124
|
-
} r \in \mathbb{R}
|
|
115
|
+
} r \in \mathbb{R}, r \neq 0
|
|
125
116
|
|
|
126
117
|
:math:`\mathbf{A_{lm}}` **- Lehmer mean**
|
|
127
118
|
|
|
@@ -170,17 +161,15 @@ We can specify how many greatest and smallest records remove
|
|
|
170
161
|
|
|
171
162
|
--------------
|
|
172
163
|
|
|
173
|
-
:math:`\mathbf{A_{ln}}` **- Logaritmic aggregation**
|
|
174
|
-
|
|
175
|
-
https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments
|
|
164
|
+
:math:`\mathbf{A_{ln}}` **- Logaritmic aggregation [2]**
|
|
176
165
|
|
|
177
166
|
.. math::
|
|
178
167
|
|
|
179
168
|
|
|
180
169
|
A_{ln}\left(x_1, x_2, \ldots, x_n\right)=(n-1) ! \sum_{i=1}^n \frac{x_i}{\prod_{\substack{j=1 \\ j \neq i}}^n \log \left(x_i / x_j\right)}
|
|
181
170
|
|
|
182
|
-
:math
|
|
183
|
-
|
|
171
|
+
:math:`\mathbf{A^{(p)}_{A_1,A_2}}` - Convex combinations of aggregation functions
|
|
172
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
184
173
|
|
|
185
174
|
We can construct covex combination of aggregation functions as
|
|
186
175
|
:math:`A^{(p)}_{A_1,A_2}=pA_1+(1-p)A_2`, where :math:`A_1, A_2` are
|
|
@@ -191,3 +180,5 @@ References
|
|
|
191
180
|
|
|
192
181
|
1. Beliakov, G., Bustince, H., and Calvo, T.: A practical Guide to
|
|
193
182
|
Averaging Functions. Berlin: Springer Vol. 329, 2016.
|
|
183
|
+
2. `Mustonen, Seppo. (2010). Logarithmic mean for several
|
|
184
|
+
arguments. <https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments>`__
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: aggregationslib
|
|
3
|
-
Version: 0.1.5.
|
|
3
|
+
Version: 0.1.5.dev5
|
|
4
4
|
Summary: Python implementation of Arithmetic, quasi arithmetic and other aggregating functions
|
|
5
5
|
Author: wgalka
|
|
6
6
|
Project-URL: Homepage, https://github.com/wgalka/Means
|
|
@@ -14,6 +14,7 @@ Requires-Dist: numpy>=2.2.2
|
|
|
14
14
|
Requires-Dist: pynverse
|
|
15
15
|
Provides-Extra: test
|
|
16
16
|
Requires-Dist: pytest>=8.3.4; extra == "test"
|
|
17
|
+
Dynamic: license-file
|
|
17
18
|
|
|
18
19
|
Means
|
|
19
20
|
=====
|
|
@@ -62,15 +63,6 @@ or ‘**repr**\ ()’ methods.
|
|
|
62
63
|
print(func3.__repr__()) # function parameters are printed in order: func1, func2
|
|
63
64
|
>>>A_arpw(r=3)
|
|
64
65
|
|
|
65
|
-
``exponential(y, r=1)`` is given by equation
|
|
66
|
-
|
|
67
|
-
.. math::
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
A_6^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
71
|
-
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), where
|
|
72
|
-
r \in \mathbb{R}, r \neq 0
|
|
73
|
-
|
|
74
66
|
Aggregation functions
|
|
75
67
|
---------------------
|
|
76
68
|
|
|
@@ -138,7 +130,7 @@ where r=-1; - Geometric Mean obtained as the limit
|
|
|
138
130
|
|
|
139
131
|
A_{ex}^{(r)}(x_1,...,x_n)= \frac{1}{r}\ln
|
|
140
132
|
\Big(\frac{1}{n} \sum \limits_{k=1}^{n} e^{rx_k}\Big), \text{where
|
|
141
|
-
} r \in \mathbb{R}
|
|
133
|
+
} r \in \mathbb{R}, r \neq 0
|
|
142
134
|
|
|
143
135
|
:math:`\mathbf{A_{lm}}` **- Lehmer mean**
|
|
144
136
|
|
|
@@ -187,17 +179,15 @@ We can specify how many greatest and smallest records remove
|
|
|
187
179
|
|
|
188
180
|
--------------
|
|
189
181
|
|
|
190
|
-
:math:`\mathbf{A_{ln}}` **- Logaritmic aggregation**
|
|
191
|
-
|
|
192
|
-
https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments
|
|
182
|
+
:math:`\mathbf{A_{ln}}` **- Logaritmic aggregation [2]**
|
|
193
183
|
|
|
194
184
|
.. math::
|
|
195
185
|
|
|
196
186
|
|
|
197
187
|
A_{ln}\left(x_1, x_2, \ldots, x_n\right)=(n-1) ! \sum_{i=1}^n \frac{x_i}{\prod_{\substack{j=1 \\ j \neq i}}^n \log \left(x_i / x_j\right)}
|
|
198
188
|
|
|
199
|
-
:math
|
|
200
|
-
|
|
189
|
+
:math:`\mathbf{A^{(p)}_{A_1,A_2}}` - Convex combinations of aggregation functions
|
|
190
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
201
191
|
|
|
202
192
|
We can construct covex combination of aggregation functions as
|
|
203
193
|
:math:`A^{(p)}_{A_1,A_2}=pA_1+(1-p)A_2`, where :math:`A_1, A_2` are
|
|
@@ -208,3 +198,5 @@ References
|
|
|
208
198
|
|
|
209
199
|
1. Beliakov, G., Bustince, H., and Calvo, T.: A practical Guide to
|
|
210
200
|
Averaging Functions. Berlin: Springer Vol. 329, 2016.
|
|
201
|
+
2. `Mustonen, Seppo. (2010). Logarithmic mean for several
|
|
202
|
+
arguments. <https://www.researchgate.net/publication/228886844_Logarithmic_mean_for_several_arguments>`__
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pandoc README.md -o README.rst
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/.github/workflows/python-publish.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/conjuctive/__init__.py
RENAMED
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/conjuctive/purepython.py
RENAMED
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/decimalaggregations.py
RENAMED
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib/disjunctive/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib.egg-info/requires.txt
RENAMED
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/aggregationslib.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aggregationslib-0.1.5.dev2 → aggregationslib-0.1.5.dev5}/tests/test_decimal_exponential_mean.py
RENAMED
|
File without changes
|