A Python package to find TOPSIS for MCDM (Multi-Criteria Decision Analysis Method)
Project description
Topsis
TOPSIS( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python compiled by Akashdeep Singh Kataria, 102103243, TIET, Patiala.
Installation
Use the package manager pip to install topsis-3283.
pip install topsis_akashdeep_102103243
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 [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 Akashdeep Singh Kataria
This reopsitory is licensed under MIT License. See LICENSE for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis_akashdeep_102103243-1.0.0.tar.gz.
File metadata
- Download URL: topsis_akashdeep_102103243-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aee4554e434150401676cc3676e17ce7b8790869c554dfc086e61c737e5d05b3
|
|
| MD5 |
ea10d2fb2ce98b1c8fe7a8c922344f5e
|
|
| BLAKE2b-256 |
b771dd354d62e1d254f270996e5575bff922ab9d4281470975b102b5ed8b18a7
|
File details
Details for the file topsis_akashdeep_102103243-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_akashdeep_102103243-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3e2d259528d344ff91f6580c224ca1b4b3724dec308521ec81d3af8a85a430d
|
|
| MD5 |
573f936e75dca79abd31f6d8652757f7
|
|
| BLAKE2b-256 |
7a9f19bb251d35f357c58874d24a7963daaae792c2855fb23b1cc84f5b2e6b10
|