Skip to main content

Topsis

Project description

Topsis

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

Installation

Use the package manager pip to install Topsis pip install Topsis_harshit_102103411

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 Harshit Goyal

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

Uploaded Source

Built Distribution

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

topsis_102103411-1.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for topsis_102103411-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d008b3e2d984c9a0ef0dcde0d00ef0e162d220d08ca3eb884a957d5a2f96ed25
MD5 95688a61cfe94f71cf723985c0cb2ea6
BLAKE2b-256 e962a644394b6af8a7cd08151c2efa65c59aba29d057d4e150f2d6bed26c3c0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_102103411-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d079fddd81c11a9fbda68b1bc31868fa5e46a1c824d2269d939eaeb00d420e2
MD5 2cdad330cc529c2728a97928decade42
BLAKE2b-256 56610c0c46db5680f7944d451e9ff1a3ea1f09f009ba3399805cd291e9a81d83

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