Skip to main content

Topsis

TOPSIS( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python compiled by Raghav Garg, 102103283, TIET, Patiala.

Installation

Use the package manager pip to install.

pip install Topsis-Raghav-102103283

Usage

Enter csv filename followed by .csv extentsion, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma separated signs (+,-) and enter the output file name followed by .csv extension.

python [InputDataFile as .csv] [Weights as a string] [Impacts as a string] [ResultFileName as .csv]

Example

python sample.csv "2,2,1,1" "-,-,+,+" result.csv

Please Note That

The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So the csv MUST follow the format as shown in sample.csv shown in the Example section. The input data file MUST contain three or more columns. The second to last columns of the data file MUST contain NUMERIC values. The number of weights, impacts and columns (second to last) MUST be SAME. Impacts MUST either be '+' or '-'. Impacts and Weights MUST be separated by , (comma).

License

© 2024 Raghav Garg

This repository is licensed under MIT License. See LICENSE for details.

Release files for Topsis-Raghav-102103283 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Topsis-Raghav-102103283 0.7
File Size Uploaded
Topsis_Raghav_102103283-0.7.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-Raghav-102103283 0.7
File Interpreter ABI Platform
Topsis_Raghav_102103283-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / Topsis_Raghav_102103283-0.7.tar.gz

Download URL Topsis_Raghav_102103283-0.7.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
525f7cacd3282535e3b118f4f9d198bab1e3ee17986d558a8ec61a1a6edca58e
BLAKE2b-256 checksum
How to use checksums
0e31e994ce49a6b6ab48027670d044e458c47f0b41b3c58c3f2b7993e51f4482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / Topsis_Raghav_102103283-0.7-py3-none-any.whl

Download URL Topsis_Raghav_102103283-0.7-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f402f8a84fe4e75868cded60edf0287b4e718924581a569089687420ad19482f
BLAKE2b-256 checksum
How to use checksums
f01695879a272ac8aaf31d71c99aee38ab55c8a2ea810a4504ef847db2324931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page