TOPSIS implementation as a Python package
Project description
Topsis-Vani-102303064
This package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method. It is used to rank alternatives based on multiple criteria.
Installation
pip install topsis-vani-102303064
Usage (Command Line)
topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>
Example
topsis data.csv "1,1,1,2" "+,+,-,+" output.csv
Input File Format -CSV file -Minimum 3 columns -First column: alternative names (non-numeric) -Remaining columns: numeric criteria values
Example Input
Fund Name,P1,P2,P3,P4
M1,0.67,0.45,6.5,42.6
M2,0.60,0.36,3.6,53.3
M3,0.82,0.67,3.8,63.1
Weights and Impacts Weights (comma separated): -1,1,1,2 Impacts (+ for benefit, - for cost): -+,+,-,+
Output -Output file is generated in CSV format -Two new columns are added: -Topsis Score -Rank (Rank 1 = Best alternative)
License -MIT License
Author -Vani -Roll Number: 102303064
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_vani_102303064-1.0.3.tar.gz.
File metadata
- Download URL: topsis_vani_102303064-1.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c00c5925b582062228d9056e8ae32bed77d067f52eb8bfe5aec0ece3b6ded39f
|
|
| MD5 |
b520d5505a78dd88f5d90234394b8b33
|
|
| BLAKE2b-256 |
0cedde51b0e4a6c4d1d7f1190cb8a4c4335472ad764eec72949aa98a966a0b17
|
File details
Details for the file topsis_vani_102303064-1.0.3-py3-none-any.whl.
File metadata
- Download URL: topsis_vani_102303064-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1631f1c279ee57d0492906d7aebbfb6c24241743a1de5372bf053def1f8c06fd
|
|
| MD5 |
8dda81b25c60f34d1f35fa6e8fa6c96a
|
|
| BLAKE2b-256 |
453e1340c2044896b16fc7fab5fb9ec7390bc330d54fe8bc63996f2cb26503c8
|