A Python package implementing TOPSIS method for MCDM problems
Project description
Topsis-Shreeya Kesarwani-102203815
A Python package for implementing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method.
Installation
pip install Topsis-Shreeya-102203815
Usage
The package can be used through command line:
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Example
topsis data.xlsx "1,1,1,2,1" "+,+,-,+,+" output.csv
Input Format
- Input file (CSV/Excel) should contain numeric values for all columns except the first one.
- First column is the object/variable name.
- Second to last columns contain numeric values only.
Parameters
<InputDataFile>: Input file name including path (csv/xlsx)<Weights>: Comma separated weight values for each column<Impacts>: Comma separated impacts (+/-) for each column<ResultFileName>: Output file name including path
Output
The output file contains all the columns of input file along with two additional columns having TOPSIS Score and Rank.
License
MIT License
Author
Shreeya Kesarwani
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_shreeya_102203815-1.0.0.tar.gz.
File metadata
- Download URL: topsis_shreeya_102203815-1.0.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4582889da5972fedf831755dd1be3bded7f3e293ea3f533814a8fdbf21413759
|
|
| MD5 |
5740a88dd4a0bb79d46fc4325589cee4
|
|
| BLAKE2b-256 |
6a1cc503c01d8ff756380ba6bd74fd8b7595533ff002f3bab59571362f9f3b8f
|
File details
Details for the file Topsis_Shreeya_102203815-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_Shreeya_102203815-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79790261c3b83d0441e322f3cf1e74a49f2aadd5de425d94596f16b95235e07b
|
|
| MD5 |
122964352e1aad9c0ffaa314feae9b78
|
|
| BLAKE2b-256 |
a78d90ffad480769124252261916feb2fa95deff5377ce488008fe7e33f7d19a
|