A package that calculates Topsis Score and Rank them accordingly
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Topsis-Parneet1-101917044-1.0.4.tar.gz.
File metadata
- Download URL: Topsis-Parneet1-101917044-1.0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ec53a29a95c48411c96b35fcf9215d62801f338a831987fe53827526fb809b6
|
|
| MD5 |
b1fdbbb59071feed3b7c1568521f2f7e
|
|
| BLAKE2b-256 |
0d1181bddaf7c020d5ad31f32d8359d04287154f6b19b3514c9287e7637b8c5c
|