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 [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.2.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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Topsis-Chirag-102103335-0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0658d7c374c4a27ad2dbaf438aac15e9140dd6d2dc9d4c0a96488946a3f88249
MD5 2dab65324935b20933c936b7ba2c0769
BLAKE2b-256 369e4b31d6c7a0e901b9d4a419d386a9ca00ea28f6f4785b5616c2dbb0543252

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Chirag_102103335-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb9e18f5b6d237cde8e49b5ad07443e58371990cb423bb55ec0778d42447281b
MD5 4c08fd6fa513e6d3815221239ac856ff
BLAKE2b-256 e6b6e31b9205814dfdaec4a8425b7e8fc980a487a3bd3d0c3d4f6151e60ccec4

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