This Package is for calculating the TOPSIS score and rank of a dataset and storing final result in a csv file
Project description
TOPSIS_Sharannya
By:Sharannya_101866015
Title:Multiple Criteria Decision Making using TOPSIS
What is TOPSIS:
TOPSIS is an acronym that stands for 'Technique of Order Preference Similarity to the Ideal Solution' and is a pretty straightforward MCDA method. It is a multi-criteria decision analysis method, which was originally developed by Ching-Lai Hwang and Yoon in 1981 with further developments by Yoon in 1987, and Hwang, Lai and Liu in 1993.
How to install the TOPSIS package
pip install TOPSIS_101866105
For Calculating the TOPSIS Score
Topsis data.csv "0.25,0.25,0.25,0.25" "-,+,+,+" result.csv
Input File(Example:data.csv):
Argument used to pass the path of the input file which conatins a dataset having different fields and to perform the topsis mathematical operations
Weights(Example:"0.25,0.25,0.25,0.25")
The weights to assigned to the different parameters in the dataset should be passed in the argument.It must be seperated by ','.
Impacts(Example:"-,+,+,+"):
The impacts are passed to consider which parameters have a positive impact on the decision and which one have the negative impact.Only '+' and '-' values should be passed and should be seperated with ',' only
Output File(Example:result.csv):
This argument is used to pass the path of the result file where we want the rank and score to be stored
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 Distributions
Built Distribution
File details
Details for the file TOPSIS_101866015-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: TOPSIS_101866015-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b9ae9fb139b4651c693085e5a1b5fa0128a8cda77c4ba5976b7e80f3fc1744 |
|
MD5 | 7891dec1cda27a49181e1f4c911f6812 |
|
BLAKE2b-256 | 313d724426ae9bb366243452a2072648f74abb09eaa7ea215a998d45f0035292 |