Python package for TOPSIS
Project description
Topsis-Santushti-102497014
A Python package that implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method for multi-criteria decision making.
Installation
Install the package using pip:
pip install Topsis-Santushti-102497014
Usage
Run the package from the command line:
topsis input.csv "1,1,1,1" "+,+,-,+" output.csv
Arguments
-
input.csv Input CSV file containing alternatives and criteria values.
-
weights Comma-separated weights for each criterion. Example:
"1,1,1,1" -
impacts Comma-separated impacts for each criterion. Use:
+for beneficial criteria-for non-beneficial criteria
Example:
"+,+,-,+" -
output.csv Output file that will contain:
- Topsis Score
- Rank
Output
The output file will include:
- Original data
- Topsis Score
- Rank of each alternative
Example
topsis data.csv "1,2,3,4" "+,+,-,+" result.csv
This command will generate result.csv containing the TOPSIS scores and rankings.
Project details
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_santushti_102497014-1.0.3.tar.gz.
File metadata
- Download URL: topsis_santushti_102497014-1.0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6f80e61c18f98c4b27934d6935725a41b273085d90ac71de762b87eef73b43e
|
|
| MD5 |
72430d6c258607187a81a4c950115409
|
|
| BLAKE2b-256 |
8f2e1cf85d34b042014b543fbfc71d90443a4440f86213e47114b2953f445973
|
File details
Details for the file topsis_santushti_102497014-1.0.3-py3-none-any.whl.
File metadata
- Download URL: topsis_santushti_102497014-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0490936f1ca5ee5f8c82948ec358e3c8cda3776368230230bf435d8a9aac2d26
|
|
| MD5 |
eb8bb56132bf5da13d72a99332e7fb10
|
|
| BLAKE2b-256 |
943ba439d7a20bf3e728bcab32aaeb039146c0e50ed775c808d1938775006f3f
|