Topsis-Manmeet-101903767 Topsis-Manmeet-101903767 is a python package to implement Multiple criteria decision making (MCDM) using TOPSIS. It takes data, calculates topsis score and ranks the data according to the score.
Run the following command in the terminal to install the package:
pip install Topsis-Manmeet-101903767
Run the following commands to import the package into your python file:
topsis = import('topsis') topsis.main()
To get the output file with topsis score and rank you need to provide 4 arguments- csv filename, weights, impacts and output filename and then run on terminal in order to generate output file.
python filename.py data.csv "1,2,1,1,2" "+,-,+,-,-" outputfilename.csv