A Python package to implement TOPSIS technique for Multi-Criteria Decision Making (MCDM)
Project description
102303803-Topsis
A robust Python implementation for the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS), widely used for Multi-Criteria Decision Making (MCDM).
Installation
Easily install the package using pip:
pip install 102303803-Topsis
Usage
Run the package directly from the command line interface (CLI):
topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>
Example Usage
topsis data.csv "1,1,1,2,1" "+,+,+,-,+" result.csv
Parameters Explained
- InputDataFile: Compatibility with CSV format. The file must include a header. The first column is treated as the object identifier and excluded from calculations. All subsequent columns must contain numeric data.
- Weights: A comma-separated string of numeric weights corresponding to each criterion (e.g., "1,1,1,2,1").
- Impacts: A comma-separated string indicating the direction of impact for each criterion ('+' for beneficial, '-' for non-beneficial) (e.g., "+,+,+,-,+").
- OutputResultFileName: The desired filename for the output CSV, which will include the original data augmented with Topsis Score and Rank.
License
MIT License
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 102303803_topsis-1.0.0.tar.gz.
File metadata
- Download URL: 102303803_topsis-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1328d0416a6d2e9aecabc17213b8fbb8b62ec32df99f5d479f17467038d209a
|
|
| MD5 |
fd2d0cb0323e673dfeb5ec82d2aedd22
|
|
| BLAKE2b-256 |
300c180032b599e50c5f7b09db6171cdc35aaa570a50305fa1986f41a744ab49
|
File details
Details for the file 102303803_topsis-1.0.0-py3-none-any.whl.
File metadata
- Download URL: 102303803_topsis-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6725314a03c4cc4473fa5efa2026447ad2456e04a9f81ca20b76585ccc96fce1
|
|
| MD5 |
782445da00a91e38cca039f7d5fb27cd
|
|
| BLAKE2b-256 |
8b2d6c4e9377c8d10b1418f0ffaa1d97f82d91dca008c8b080ddfddef4612d7e
|