Implementation of TOPSIS
Project description
About Topsis
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. An assumption of TOPSIS is that the criteria are monotonically increasing or decreasing. Normalisation is usually required as the parameters or criteria are often of incongruous dimensions in multi-criteria problems
Installation
pip install TOPSIS-Sanyam-101803298
How to use it?
Open terminal and type following query
python topsis input_filename.csv "w1,w2,w3,w4" "i1,i2,i3,i4" result.csv
w1,w2,w3,w4 represent weights and i1,i2,i3,i4 represent impacts. w1,w2,etc can be in float/integer form while i1,i2,etc can either be '+' or '-'
Also the input_filename.csv has to be provided in the directory in which you will be expecting the result.csv
Rank 1 in the result.csv file will denote the best decision
License
© 2020 Sanyam Jain
This repository is licensed under the MIT license. See LICENSE for details
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
Built Distribution
Hashes for TOPSIS-Sanyam-101803298-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 223784bf5d10cdd68450ef81335751ca82d0a4540acec9089a3bb9dd257d4bbd |
|
MD5 | c14510bf095430e3d14ec1c667bd3531 |
|
BLAKE2b-256 | 77172e9ca1537585ae628bae9f9404331b664d14a0736fd86bb71ed7efa958c2 |
Hashes for TOPSIS_Sanyam_101803298-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3f94fa02f4ed1e1df441c35549229cca54b3c8a6b06ee5a4589bff5d72be09c |
|
MD5 | cdd0b254e27d3b38b1f51c0ac1cf8bf4 |
|
BLAKE2b-256 | 162cc67b71db3973227e20f21f539697465acb69af904c045972d9bfea0e9922 |