Implementation of TOPSIS method
Project description
Topsis-Dishavpreet-102353006
This package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method in Python.
This project was developed as part of an academic assignment.
Installation
Install the package using pip:
pip install Topsis-Dishavpreet-102353006
Usage
After installation, run the following command from the command line:
topsis input.csv "1,1,1,1,1" "+,+,+,+,+" output.csv
Parameters
input.csv
Input CSV file containing alternatives and criteria.
The first column should be non-numeric.
weights
Comma-separated numerical weights.
Example:
"1,1,1,1,1"
impacts
Comma-separated impacts.
Use + for benefit and - for cost criteria.
Example:
"+,+,-,+,+"
output.csv
Output CSV file containing TOPSIS score and rank.
Example
topsis data.csv "1,1,1" "+,+,+" result.csv
Requirements
Python 3.x
numpy
pandas
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_dishavpreet_102353006-0.0.1.tar.gz.
File metadata
- Download URL: topsis_dishavpreet_102353006-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
446bbc14ebfba878a8ccc3b8a1cec67d87365aa8a8a7c0afbfa1d01af2a0529b
|
|
| MD5 |
b862c253e9a227a93f759ea1748cdef5
|
|
| BLAKE2b-256 |
fdfb9bb47448da5b7e40cc2c29c1d8059551174ea8ab4691c64ad0e53595c3fc
|
File details
Details for the file topsis_dishavpreet_102353006-0.0.1-py3-none-any.whl.
File metadata
- Download URL: topsis_dishavpreet_102353006-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88c6ef24c227a85bb8c9f5fe18a0588ea4713cc072d43506f477261217c12bef
|
|
| MD5 |
257e993785ddf10ce2e81ed44bb3467d
|
|
| BLAKE2b-256 |
3c9271963ddf9d98aaa26bb5e6622044dcef5f53acbd37c26140b958da5e1023
|