Skip to main content

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:

  1. Classic (WMM): The M score is computed per each alternative to generate a cardinal ranking.

  2. 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.

  3. 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].

  4. 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)

Source distribution for GPMM 0.1.2
File Size Uploaded
GPMM-0.1.2.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GPMM 0.1.2
File Interpreter ABI Platform
GPMM-0.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page