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-RaghavNarula-101903795
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
It will display the input arguments and the input data on terminal screen and 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
Release files for Topsis-RaghavNarula-101903795 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Topsis-RaghavNarula-101903795-1.0.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Topsis_RaghavNarula_101903795-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / Topsis-RaghavNarula-101903795-1.0.0.tar.gz
| Download URL | Topsis-RaghavNarula-101903795-1.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21aafe09702a13abb9f54ce5e606e99f7749153a6bf3bb2f4e3efa1f62b3f80e
|
|
BLAKE2b-256 checksum How to use checksums |
66a928a77c82132e67fbf0df10dd6cf10b9e8e325545313921a570fed4318304
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.0
|
Release files / Topsis_RaghavNarula_101903795-1.0.0-py3-none-any.whl
| Download URL | Topsis_RaghavNarula_101903795-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50641ede9cfddfd461195467f7671fb394bf363ddfcea4bff4d2e957b059f7b6
|
|
BLAKE2b-256 checksum How to use checksums |
0dd298245f15635491df6915a721dd1c7e78635997fde901fef5ee9c285d137b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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.0
|