Topsis
Topsis( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python.
Installation
Use the package manager pip to install Topsis pip install Topsis-Chirag-102103335
Usage
Enter csv filename followed by .csv extentsion, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma separated signs (+,-) and enter the output file name followed by .csv extension.
python -m topsis.main [InputDataFile as .csv] [Weights as a string] [Impacts as a string] [ResultFileName as .csv]
Example
python sample.csv "1,1,1,1" "-,+,+,+" output.csv
Please Note That"
The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So the csv MUST follow the format as shown in sample.csv shown in the Example section. The input data file MUST contain three or more columns. The second to last columns of the data file MUST contain NUMERIC values. The number of weights, impacts and columns (second to last) MUST be SAME. Impacts MUST either be '+' or '-'. Impacts and Weights MUST be separated by , (comma).
License
© 2024 Chirag Garg
This reopsitory is licensed under MIT License. See LICENSE for details.
Release files for Topsis-Chirag-102103335 0.3
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-Chirag-102103335-0.3.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Topsis_Chirag_102103335-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / Topsis-Chirag-102103335-0.3.tar.gz
| Download URL | Topsis-Chirag-102103335-0.3.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e46d9fd75bbd99b7f587a88e0f3a7555600774690e95853e395ae0dfa24d32e9
|
|
BLAKE2b-256 checksum How to use checksums |
96d6ab461a5388f301013edf6fc39d53d99e24ab768e20feaa6507effcfb8cb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / Topsis_Chirag_102103335-0.3-py3-none-any.whl
| Download URL | Topsis_Chirag_102103335-0.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
609c7cd613bfc8cadaa32f7c5469cee6d59466b70715eb02f1ba670d36cf8743
|
|
BLAKE2b-256 checksum How to use checksums |
1d9803a6744b00548e2a22e7deba17ac1547d2e9d291393c6418a4745f76b59e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|