Skip to main content

Topsis-python TOPSIS Submitted By: Parneet Kaur Rakhra Title: Multiple Creteria Decision Making (MCDM) Using TOPSIS TOPSIS: Technique for Order of Preference By Similarity to Ideal Solution

What is TOPSIS? Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as 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.

Algorithm used in the Program: Step 1: Check whether the arguments entered by users are sufficient as per the requirements of our package. Command should be like: topsis data_file.csv,"weights","impacts",result.csv

Step2: Check whether weights and impact have same number of elements as that of number of columns in the csv file.

Step3: Convert the column having categorical values to numerical values in the dataset.

Step4: Vector normalisation is performed on the dataset and calculate the weighted normalised decision matrix..

Step5: Calculate ideal best and ideal worst value in the dataset

Step6: Calculate Euclidean distance from ideal best and ideal worst value.

Step7: Finally calculate the Topsis Score and Rank

The output file contains columns of input file along with two additional columns having Topsis_score and Rank

Metadata

Release files for Topsis-Parneet1-101917044 1.0.4

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

Source distribution (sdist)

Source distribution for Topsis-Parneet1-101917044 1.0.4
File Size Uploaded Provenance Actions
Topsis-Parneet1-101917044-1.0.4.tar.gz 4.3 kB Without provenance Details for Topsis-Parneet1-101917044-1.0.4.tar.gz

Release files / Topsis-Parneet1-101917044-1.0.4.tar.gz

Download URL Topsis-Parneet1-101917044-1.0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8ec53a29a95c48411c96b35fcf9215d62801f338a831987fe53827526fb809b6
BLAKE2b-256 checksum
How to use checksums
0d1181bddaf7c020d5ad31f32d8359d04287154f6b19b3514c9287e7637b8c5c
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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Security for Topsis-Parneet1-101917044 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.4 This release

1 release file No provenance

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