A Python package to implement TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)
Project description
Topsis-Hardik-102303945
A Python package to implement TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution).
Installation
pip install Topsis-Hardik-102303945
Usage
This package can be used via the command line.
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Arguments
- InputDataFile: Path to the input CSV file containing data.
- First column should be the name/ID of the alternative.
- Other columns must be numeric.
- Weights: Comma-separated numbers representing weights for each criterion (e.g., "1,1,1,2").
- Impacts: Comma-separated signs ('+' or '-') representing the impact of each criterion (e.g., "+,+,-,+").
- ResultFileName: Path where the result CSV will be saved.
Example
topsis data.csv "1,1,1,1" "+,+,-,+" result.csv
Output
The output file will contain the original data with two additional columns:
- Topsis Score: The calculated performance score.
- Rank: The ranking of the 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_hardik_102303945-1.0.0.tar.gz.
File metadata
- Download URL: topsis_hardik_102303945-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8c9893d29031f5a887904b2c78c516103003bd73a13674b4054a33b7c093762
|
|
| MD5 |
5b358c6db11eec62a58bf067a9242f57
|
|
| BLAKE2b-256 |
778adac62871f6ed55415e830d8b0010a65318eb0674ce91532fa8c94f99882d
|
File details
Details for the file topsis_hardik_102303945-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_hardik_102303945-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 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 |
0226d262567012580269808c713c36f869a0e84aef0d67e7fa6ec55f9f89f36d
|
|
| MD5 |
3e606ee4482060ac6839036a27b515c9
|
|
| BLAKE2b-256 |
c4832b744c76e1418c32b15f604033d13140a3e10cb2858b2dbd4aaa02fd87eb
|