Skip to main content

Topsis-Sakshams-102103521

Project description

Topsis

Topsis( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python compiled by Saksham Sikri, 102103521, TIET, Patiala.

Installation

Use the package manager pip to install Topsis. pip install Topsis_saksham_102103521

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 Saksham Sikri

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_Sakshams_102103521-1.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Sakshams_102103521-1.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Sakshams_102103521-1.1.0.tar.gz.

File metadata

File hashes

Hashes for Topsis_Sakshams_102103521-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8476282645d768e5b5caaf5d2838a37e25e055747aae1aaaad99e3862f7fdb3e
MD5 19e0692a4dc6cb6050c2fbfe0fc55fb8
BLAKE2b-256 94e277f0ba5bc5e234efbb811b2ea1e4558e11b729e9e14d0d17b7dc530aec26

See more details on using hashes here.

File details

Details for the file Topsis_Sakshams_102103521-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Sakshams_102103521-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df1d362b76f4cf026339ef586323c557ad40969e3970aec7d048c0f9a3e9711d
MD5 a6396bbab53ed686cfdcd1e46105cbf5
BLAKE2b-256 d3377948995b4bfa0f15bb94d16cf11656c6d332116769755026cb33303d80c4

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