Skip to main content

TOPSIS Package.

Project description

Topsis

Topsis( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python.

Installation

Use the package manager pip to install Topsis pip install Topsis-Chirag-102103335

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 -m topsis.main [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 Chirag Garg

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-Chirag-102103335-0.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Chirag_102103335-0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Chirag-102103335-0.3.tar.gz.

File metadata

  • Download URL: Topsis-Chirag-102103335-0.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for Topsis-Chirag-102103335-0.3.tar.gz
Algorithm Hash digest
SHA256 e46d9fd75bbd99b7f587a88e0f3a7555600774690e95853e395ae0dfa24d32e9
MD5 34f93eb84a5b11ddd0f62035ce39725c
BLAKE2b-256 96d6ab461a5388f301013edf6fc39d53d99e24ab768e20feaa6507effcfb8cb9

See more details on using hashes here.

File details

Details for the file Topsis_Chirag_102103335-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Chirag_102103335-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 609c7cd613bfc8cadaa32f7c5469cee6d59466b70715eb02f1ba670d36cf8743
MD5 d51f8107ec6bb6857c0d31295d72386d
BLAKE2b-256 1d9803a6744b00548e2a22e7deba17ac1547d2e9d291393c6418a4745f76b59e

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