Skip to main content

Collection of generalized p-mean models with classic, fuzzy and unweighted approach

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GPMM-0.1.2.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

GPMM-0.1.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file GPMM-0.1.2.tar.gz.

File metadata

  • Download URL: GPMM-0.1.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for GPMM-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cc05ee47c1e6084d912aff0d056286e89acbaa70d8afd802487aecd9ffb45baa
MD5 a5c7ce6fdccd148426aae6abf2761105
BLAKE2b-256 2b9ebd7844b7c491c9d43e78c81fea82bbb31ab92814cffade3ff8b901c797fa

See more details on using hashes here.

File details

Details for the file GPMM-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: GPMM-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for GPMM-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7246dcc0b66536f496f4811abe840490bab477f11558571079fb5bdbcdc236f8
MD5 ca6d5440fd4843ab4ce97e3feaac5a2b
BLAKE2b-256 e90635f7f8c4772f6685dfa0eaa1cc4b39b9316dbcbf07f435fe80a9a9e381c6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page