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.

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

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.2.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

distance_metrics_mcda-0.0.2-py3-none-any.whl (9.8 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