Skip to main content

Automatic topsis for decision making

Project description

Topsis

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

Installation

Use the package manager pip to install topsis_rijul_102103399. pip install topsis_rijul_102103399

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 input.csv "1,2,1,0.5" "+,-,-,+" 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 Rijul Jain

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_Rijul_102103399-1.2.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file Topsis_Rijul_102103399-1.2.0.tar.gz.

File metadata

  • Download URL: Topsis_Rijul_102103399-1.2.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Topsis_Rijul_102103399-1.2.0.tar.gz
Algorithm Hash digest
SHA256 773fd81a61f02c5546c7e6dd21b2599680409b16e4d3712699d0c0ba56a6dd79
MD5 8eb87ff287f2129745b0c9f7d05acccb
BLAKE2b-256 93b68bcec65fbe47ddb0b7580770a134bc41fdf6e19922ad2608f5237efea778

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