A Python package for TOPSIS multi-criteria decision analysis
Project description
Topsis-Sarthak-102303497
A Python package for TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) multi-criteria decision analysis.
Installation
pip install Topsis-Sarthak-102303497
Usage
Command Line
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Example
topsis data.csv "1,1,1,2" "+,+,-,+" result.csv
Parameters
- InputDataFile: Path to CSV file containing the data
- Weights: Comma-separated weights for each criterion (e.g., "1,1,1,2")
- Impacts: Comma-separated impacts for each criterion (+ for benefit, - for cost)
- ResultFileName: Path for the output CSV file
Input File Format
The input CSV must have:
- First column: Object/Alternative names
- Remaining columns: Numeric criteria values
Example:
Fund Name,P1,P2,P3,P4,P5
M1,0.67,0.45,6.5,42.6,12.56
M2,0.6,0.36,3.6,53.3,14.47
Output File Format
The output CSV will contain all input columns plus:
- Topsis Score: The calculated TOPSIS score
- Rank: Rank based on the TOPSIS score (1 = best)
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 topsis_sarthak_102303497-1.0.0.tar.gz.
File metadata
- Download URL: topsis_sarthak_102303497-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6186721b4043bee491f05cae6b36c95c4b7813e2a3077e9901e10989e522df4
|
|
| MD5 |
f02d99202a6627ce620d6d6099506779
|
|
| BLAKE2b-256 |
53034877b931f0c692ab57e288a40ea8c4f800be9baf1274708472603d69d031
|
File details
Details for the file topsis_sarthak_102303497-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_sarthak_102303497-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb2dea14ecfb013e5db84b7d9792625b6b12b99524ae735c5b4cd20dfa01d941
|
|
| MD5 |
52b649914b45cba12eb5c11dbb990ff0
|
|
| BLAKE2b-256 |
e40e79d11feb986467ed0c37239ae5091d0d8ebddb06f7803edc7ac0175112f2
|