Skip to main content

AHP is one of the extensively used Multi Criteria Decision Making (MCDM) tool for processing multiple important objectives and weighting the criteria. The AHP allows to assign a priority among various alternatives and integrating multidimensional measures into a single scale of priorities.

Project description

Installation

pip install ahp_calculator

Usage

from ahp_calculator import ahp_calculator 

AC=ahp_calculator()
AC.open_calculator()

INTRODUCTION

The Analytic Hierarchy Process (AHP) is a method for organizing and evaluating complicated decisions, using Maths and Psychology. In 1970s, Thomas L. Saaty developed AHP which is a theory of measurement. AHP has been widely used, particularly in large-scale situations with several criteria and when the evaluation of alternatives is mostly subjective. It has quantifying capability which distinguishes the AHP from other decision making techniques.

AHP is one of the extensively used Multi Criteria Decision Making (MCDM) tool for processing multiple important objectives and weighting the criteria. The AHP allows to assign a priority among various alternatives and integrating multidimensional measures into a single scale of priorities.

METHOD

The pair-wise comparison is used to compare the importance of criteria. It can be carried out with nine-point scale value which includes values 9, 8, 7, 6...., 1/7, 1/8, 1/9, which indicates 9 as extreme preference, 7 as very strong preference, 5 as strong preference and so on down to 1 which represents no preference. Thus, the pair-wise comparison aids to simplify the criteria by evaluating the independent contribution of each criterion with each other. The square matrix is organized for pairwise comparisons of various criteria. The principal eigenvalue and their corresponding eigenvector was developed among the relative importance within the criteria from the comparison matrix. The weights for each element can be generated from the normalized eigenvector. The subjective judgment from AHP were checked via consistency index. The consistency index (CI) is calculated as:
  CI = ( λmax - n ) / ( n - 1 )
  Where CI = Consitency Index
  λmax = maximum eigenvector of the matrix
  n = order of the matrix
After comparing CI with random index, Consistency Ratio (CR) can be derived from their ratio. The consistency ratio should be ≤ 0.1 (Saaty, 1990). The pairwise comparison is assumed to be inconsistent if the CR exceeds the threshold, the process has to be reviewed in such case.

image

image

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

ahp_calculator-0.3.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

ahp_calculator-0.3.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file ahp_calculator-0.3.0.tar.gz.

File metadata

  • Download URL: ahp_calculator-0.3.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for ahp_calculator-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8b91f4ffd2cb960d852089ec533bd75f7555091fedca1810cf17cd179fca38dd
MD5 27f140cfbb4e9bc57e232bc204482f2c
BLAKE2b-256 2eb8276b8559ab7c9723e0f465d89c50ef143353c10cdf862c42316621c28e17

See more details on using hashes here.

File details

Details for the file ahp_calculator-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ahp_calculator-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for ahp_calculator-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c57b8e91de12e2c831303a8947d4cb53857b41c04df6e1218d149b55281ae4a
MD5 830b32d9581a03122b6d234e0a92ccbe
BLAKE2b-256 04d0b6db9c11ae663d90e2037d4d5ea4ed73a778c8464da99c00498fb7fd07dd

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