It gives a csv file that includes the topsis result
Project description
Topsis Result Calculator
It runs on terminal and takes a csv file , weights of column, impacts and name of the output file as input and gives an output csv file that contains topsis performance score and the rank of a particular entity.
Installation
On your terminal run the command below:
pip install Topsis-JiteshSilhi-101903797
Importing and using in source file
use the package in source file as follows:
tbj=__import__("topsis)
tbj.get_topsis_result()
How to get output?
output is taken by running the command on terminal as : python "sourcefile.py" "input.csv" "weights(separateed by ',')" "impact(separated by ','))"
use impact as '+' for maximizing the feature and '-' for minimizing.
On your terminal run the command:
python source_file_name.py input_file.csv "1,1,0,1" "+,-,+,+" output_file_name.csv
Output will be stored in your present working directory as a csv file.
Constraints
Number of columns in input file(other than the name of the entity) should be equal to length of impacts and length of weights.
Input file should not have blank values
Number of Columns in Input files should not be less than 3
There should not be any csv file with same name as your output file in present directory
Number of Arguments should be equal to the number as specified above
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 Topsis1234-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f757e40892be45a9b27302452284e4d3e93a13a2b35933a1b970d04e2ab233a |
|
MD5 | 34f5139e15f3d3b9c03a1979e34b59cd |
|
BLAKE2b-256 | 53b51e320f61ef6f1af4baf44c8d6471f382516b41a97ed56aa77278bc5f0361 |