Skip to main content

A Python package to implement TOPSIS technique for Multi-Criteria Decision Making (MCDM)

Project description

102303803-Topsis

A robust Python implementation for the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS), widely used for Multi-Criteria Decision Making (MCDM).

Installation

Easily install the package using pip:

pip install 102303803-Topsis

Usage

Run the package directly from the command line interface (CLI):

topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>

Example Usage

topsis data.csv "1,1,1,2,1" "+,+,+,-,+" result.csv

Parameters Explained

  1. InputDataFile: Compatibility with CSV format. The file must include a header. The first column is treated as the object identifier and excluded from calculations. All subsequent columns must contain numeric data.
  2. Weights: A comma-separated string of numeric weights corresponding to each criterion (e.g., "1,1,1,2,1").
  3. Impacts: A comma-separated string indicating the direction of impact for each criterion ('+' for beneficial, '-' for non-beneficial) (e.g., "+,+,+,-,+").
  4. OutputResultFileName: The desired filename for the output CSV, which will include the original data augmented with Topsis Score and Rank.

License

MIT License

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_pulkit_102303803-1.0.0.tar.gz (4.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_pulkit_102303803-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file topsis_pulkit_102303803-1.0.0.tar.gz.

File metadata

  • Download URL: topsis_pulkit_102303803-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for topsis_pulkit_102303803-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ac2afa2ee638183409f7a6421c68afcb282d1130f8b5a695cf0cbb6770b06259
MD5 f098ef674347279dc243bf10d6161abe
BLAKE2b-256 d06c37ef8976ebc1de4ce2d8342ff97b9743c2e76a2526369c8fda32745a8b14

See more details on using hashes here.

File details

Details for the file topsis_pulkit_102303803-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_pulkit_102303803-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 319dc6d9e362dc7c7cde2877a64474782277a852bc9182e9dfe869ea7e1060be
MD5 2db43271fcffc119d7a557cde7575d2d
BLAKE2b-256 0b60132242b398315bbfde54fad157fbae893aad58783db760ea03f148ebc120

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