Skip to main content

A Python package to find TOPSIS for MCDM (Multi-Criteria Decision Analysis Method)

Project description

Topsis

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

Installation

Use the package manager pip to install topsis-3283. pip install topsis_kartikye_102103708

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

topsis_kartikye_102103708 sample.csv "1,1,1,1" "-,+,+,+" output.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 Katikye Chadda

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topsis_kartikye_102103708-1.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topsis_kartikye_102103708-1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file topsis_kartikye_102103708-1.0.1.tar.gz.

File metadata

File hashes

Hashes for topsis_kartikye_102103708-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b191b6d71649ab93fc40d6483742b023b6cf06c04a07606fa37f5749e743f9fa
MD5 2cc4d11bd73c515091de4f2253f8a320
BLAKE2b-256 375c4956222f753fa70dee65c062f56a1225ad2665f7a8e28173ac6746e6ae5c

See more details on using hashes here.

File details

Details for the file topsis_kartikye_102103708-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_kartikye_102103708-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93b63532f97437771d9d9511318bcca3dcaa8706386defdf167b855826deddc4
MD5 3e98e3fd14436b24b328805a2d49b10b
BLAKE2b-256 fc27bca9976855d80e924ee0bfd24bd6c0e0ce4b602b909d69af0ccb83d62cd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page