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 Chirag Gupta, 102103278, 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

python 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.0.tar.gz (4.0 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.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for topsis_kartikye_102103708-1.0.0.tar.gz
Algorithm Hash digest
SHA256 58e24657c878bea34534ebbc291efa48bb0d2c6038902e8925288c6d03785279
MD5 278e1bc0c1d85e4438a2d4f19b05caeb
BLAKE2b-256 5d144559f935a92744b1384a46c3a31ac5691db2be209272c96d46ac80524bb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_kartikye_102103708-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4efd6dfd08b607390e415c95e12be1fa455f078cc24bcab0c7de54d342d00a58
MD5 da1484d52de3b2cbf29933ef18cf8734
BLAKE2b-256 b6c6f24f6e40c30d35abfda50d0ceb124a9a6d80296294ad0d6e67ab885f6bf6

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