Generalized p-Mean Models
Collection of Generalized p-Mean Models (GPMM) with classic, fuzzy and un-weighted approach. This set of outranking methods are based on the concept of weighted generalized p-mean of a sequence:
In this project, we have included four different approaches:
Classic (WMM): The M score is computed per each alternative to generate a cardinal ranking.
Fuzzy (FWMM): The decision matrix is trapezoidal fuzzy shaped as (x_L, x_1, x_2, x_R) with LR-representation. Then, it is satisfied that x_L <= x_1 <= x_2 <= x_R per each component of the matrix.
Un-Weighted (UWMM): The weighting scheme is variable and it has attached a lower and upper bound per each component. As a result, it returns an interval [M_L, M_U].
Fuzzy Un-Weighted (FUWMM): It combines both approaches in the decision matrix and the weighting scheme.
Installation
You can install the GPMM library from GitHub:
.. code:: sh
git clone https://github.com/Aaron-AALG/GPMM.git python3 -m pip install -e GPMM
You can also install it directly from PyPI:
.. code:: sh
pip install GPMM
Example
GPMM is implemented in order to manage Pandas DataFrames as input data which will be converted to NumPy arrays. Here is an example in which we only use three alternatives and four criteria.
Optimization in Python
This library uses the minimize function of the scipy.optimize module to carry out the optimization problems. In particular, M_L and M_U are obtained one by one, thus we can apply the SLSQP method.
Metadata
Release files for GPMM 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| GPMM-0.1.2.tar.gz | 6.6 kB | Without provenance | Details for GPMM-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| GPMM-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for GPMM-0.1.2-py3-none-any.whl |
Total release size: 17.1 kB
Release files / GPMM-0.1.2.tar.gz
| Download URL | GPMM-0.1.2.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc05ee47c1e6084d912aff0d056286e89acbaa70d8afd802487aecd9ffb45baa
|
|
BLAKE2b-256 checksum How to use checksums |
2b9ebd7844b7c491c9d43e78c81fea82bbb31ab92814cffade3ff8b901c797fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / GPMM-0.1.2-py3-none-any.whl
| Download URL | GPMM-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7246dcc0b66536f496f4811abe840490bab477f11558571079fb5bdbcdc236f8
|
|
BLAKE2b-256 checksum How to use checksums |
e90635f7f8c4772f6685dfa0eaa1cc4b39b9316dbcbf07f435fe80a9a9e381c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for GPMM 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.