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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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