Skip to main content

Package for Multi-Criteria Decision Analysis with distance-based TOPSIS method

Project description

distance-metrics-for-mcda

Python 3 library for Multi-Criteria Decision Analysis based on distance metrics. The documentation is provided here

Installation

pip install distance-metrics-mcda

Methods

This is Python 3 library providing package distance_metrics_mcda that includes metrics that can measure alternatives distance from reference solutions in multi-criteria decision analysis. This library contains module weighting_methods with the following distance metrics:

  • Euclidean distance euclidean
  • Manhattan (Taxicab) distance manhattan
  • Hausdorff distance hausdorff
  • Correlation distance correlation
  • Chebyshev distance chebyshev
  • Standardized euclidean distance std_euclidean
  • Cosine distance cosine
  • Cosine similarity measure csm
  • Squared Euclidean distance squared_euclidean
  • Sorensen or Bray-Curtis distance bray_curtis
  • Canberra distance canberra
  • Lorentzian distance lorentzian
  • Jaccard distance jaccard
  • Dice distance dice
  • Bhattacharyya distance bhattacharyya
  • Hellinger distance hellinger
  • Matusita distance matusita
  • Squared-chord distance squared_chord
  • Pearson chi-square distance pearson_chi_square
  • Squared chi-square distance squared_chi_square

The library also provides other methods necessary for multi-criteria decision analysis, which are as follows: The TOPSIS method for multi-criteria decision analysis TOPSIS in module mcda_methods. The TOPSIS method is based on measuring the distance of alternatives from Positive Ideal Solution and Negative Ideal Solution using distance_metrics mentioned above.

Normalization techniques:

  • Linear linear_normalization
  • Minimum-Maximum minmax_normalization
  • Maximum max_normalization
  • Sum sum_normalization
  • Vector vector_normalization

Correlation coefficients:

  • Spearman rank correlation coefficient rs spearman
  • Weighted Spearman rank correlation coefficient rw weighted_spearman
  • Pearson coefficent pearson_coeff

Objective weighting methods:

  • Entropy weighting method entropy_weighting
  • CRITIC weighting method critic_weighting

Example of usage of distance-metrics-mcda are provided on GitHub in examples

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

distance-metrics-mcda-0.0.5.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

distance_metrics_mcda-0.0.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file distance-metrics-mcda-0.0.5.tar.gz.

File metadata

  • Download URL: distance-metrics-mcda-0.0.5.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.6

File hashes

Hashes for distance-metrics-mcda-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0de0de37a93aeff81a0f9b599bc563db33bed90d2bf55211776d78f1ec33dc53
MD5 7f08baadefa4393345b93ed9bbb6dccd
BLAKE2b-256 483375552333bb952862f40742cb9054109b3d99e977a974fa63eebedc49f763

See more details on using hashes here.

File details

Details for the file distance_metrics_mcda-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for distance_metrics_mcda-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dfc33fe6a4a6f2cd330216b05a0d1f6491dd578209433c64a4da3fcd0fa684a9
MD5 334f514c20cb9aef4cf5c0afff62ce4c
BLAKE2b-256 914e174f76a383bc9cecb8b2c0edd58cefea5d3e3d22f47336386425b6c986eb

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