A Python implementation of TOPSIS method using command line arguments
Project description
TOPSIS – Technique for Order Preference by Similarity to Ideal Solution
TOPSIS is a Multi-Criteria Decision Making (MCDM) method developed in the 1980s.
It selects the best alternative based on:
- Shortest Euclidean distance from the Ideal Solution
- Farthest distance from the Negative-Ideal Solution
Installation
Install directly from PyPI:
Usage
After installation, open your terminal and run: topsis
Example:
topsis test.csv "1,1,2,3,1" "+,-,+,-,-" output.csv
Output
The output file will contain:
- Original data
- Topsis Score
- Rank (1 = Best Alternative)
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_prabhsimrat_102317135-1.0.0.tar.gz.
File metadata
- Download URL: topsis_prabhsimrat_102317135-1.0.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
258a06a8373e32a871de55faf358f603179609de886047c54dafd3649417e2cc
|
|
| MD5 |
2f8c5ff82f0190c8b6d2fc55b2d77ae0
|
|
| BLAKE2b-256 |
cd3fd5450a5c105d720b59eb3c5fdf4a8d19708603f47f32ce7da07653707bd9
|
File details
Details for the file topsis_prabhsimrat_102317135-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_prabhsimrat_102317135-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4541753be989c2b356421dc7e74b1ca28abc10bbdb723af1e6f8391fa641860c
|
|
| MD5 |
32ab88b2c75b2561eaa0ffc117ae6dc1
|
|
| BLAKE2b-256 |
62f161d5a7f6acea958dc0e13f7cf9f1b43aebcfb5caa2960a5c00a20f51345e
|