Skip to main content

TOPSIS (Python)

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution. It is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.

Authors

  • Pragya Nainwal 101903503

Deployment

In command prompt

  pip install Topsis-Pragya-101903503

In Python Ide

from topsis_pragya import Topsis
Topsis.topsis("data.csv","1,1,1,1,2","+,-,+,-,+","result.csv")

The rankings are displayed in the form of a table using a package 'tabulate', with the 1st rank offering us the best decision, and last rank offering the worst decision making, according to TOPSIS method.

Release files for Topsis-Pragya-101903503 4.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-Pragya-101903503 4.0.0
File Interpreter ABI Platform
Topsis_Pragya_101903503-4.0.0-py3-none-any.whl Python 3 none any Details

Release files / Topsis_Pragya_101903503-4.0.0-py3-none-any.whl

Download URL Topsis_Pragya_101903503-4.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
170edcc6dd080f2e6e5f6db7688730d6239d921d210ee7f079d71d6ae1e69bb3
BLAKE2b-256 checksum
How to use checksums
fbabd3884508a6aefa6fbb812c174bca3512f7cc6a301af71fe98c4a2e675754
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

Release history Release notifications | RSS feed

This release

4.0.0 This release

1 release file

2.0.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page