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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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